org.apache.axis2.transport.http
Class RESTSender
java.lang.Object
org.apache.axis2.transport.http.AbstractHTTPSender
org.apache.axis2.transport.http.RESTSender
public class RESTSender
- extends AbstractHTTPSender
Methods inherited from class org.apache.axis2.transport.http.AbstractHTTPSender |
addCustomHeaders, configProxyAuthentication, executeMethod, getHostConfiguration, getHttpClient, getTimeoutValues, isAuthenticationEnabled, obtainHTTPHeaderInformation, processResponse, setAuthenticationInfo, setChunked, setFormat, setHttpVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESTSender
public RESTSender()
createRequest
public org.apache.axis2.transport.http.RESTSender.RequestData createRequest(MessageContext msgContext,
org.apache.axiom.om.OMElement dataout)
send
public void send(MessageContext msgContext,
org.apache.axiom.om.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)