org.apache.axis2.transport.http
Class RESTSender

java.lang.Object
  extended byorg.apache.axis2.transport.http.AbstractHTTPSender
      extended byorg.apache.axis2.transport.http.RESTSender

public class RESTSender
extends AbstractHTTPSender


Nested Class Summary
 class RESTSender.AxisRESTRequestEntity
           
 
Nested classes inherited from class org.apache.axis2.transport.http.AbstractHTTPSender
AbstractHTTPSender.AxisRequestEntity
 
Field Summary
 
Fields inherited from class org.apache.axis2.transport.http.AbstractHTTPSender
ANONYMOUS, chunked, format, httpClient, httpVersion, PROXY_HOST_NAME, PROXY_PORT, proxyOutSetting
 
Constructor Summary
RESTSender()
           
 
Method Summary
 org.apache.axis2.transport.http.RESTSender.RequestData createRequest(MessageContext msgContext, OMElement dataout)
           
 String getParam(MessageContext msgContext)
           
 void send(MessageContext msgContext, OMElement dataout, URL url, String soapActionString)
          By this time, you must have identified that you are doing REST here.
 
Methods inherited from class org.apache.axis2.transport.http.AbstractHTTPSender
configProxyAuthentication, getHostConfiguration, getTimeoutValues, obatainHTTPHeaderInformation, processResponse, setChunked, setFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RESTSender

public RESTSender()
Method Detail

createRequest

public org.apache.axis2.transport.http.RESTSender.RequestData createRequest(MessageContext msgContext,
                                                                            OMElement dataout)

send

public void send(MessageContext msgContext,
                 OMElement dataout,
                 URL url,
                 String soapActionString)
By this time, you must have identified that you are doing REST here. Following default values will apply. If the HTTPMethod is not set, I prefer to set it as POST by default.

Specified by:
send in class AbstractHTTPSender
Parameters:
msgContext -
dataout -
url -
soapActionString -

getParam

public String getParam(MessageContext msgContext)