@Deprecated public class MuleHttpSender extends org.apache.axis.handlers.BasicHandler
MuleHttpSender is a rewrite of the Axis HttpSender. Unfortunately,
the Axis implementation is not extensible so this class is a copy of it with
modifications. The enhancements made are to allow for asynchronous Http method
calls which Mule initiates when the endpoint is asynchronous.| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
Deprecated.
|
| Constructor and Description |
|---|
MuleHttpSender()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
getSocket(org.apache.axis.transport.http.SocketHolder sockHolder,
org.apache.axis.MessageContext msgContext,
String protocol,
String host,
int port,
int timeout,
StringBuffer otherHeaders,
org.apache.axis.components.net.BooleanHolder useFullURL)
Deprecated.
Creates a socket connection to the SOAP server
|
void |
handleCookie(String cookieName,
String setCookieName,
Hashtable headers,
org.apache.axis.MessageContext msgContext)
Deprecated.
little helper function for cookies
|
void |
invoke(org.apache.axis.MessageContext msgContext)
Deprecated.
invoke creates a socket connection, sends the request SOAP message and then
reads the response SOAP message back from the SOAP server
|
public void invoke(org.apache.axis.MessageContext msgContext)
throws org.apache.axis.AxisFault
msgContext - the messsage contextorg.apache.axis.AxisFaultprotected void getSocket(org.apache.axis.transport.http.SocketHolder sockHolder,
org.apache.axis.MessageContext msgContext,
String protocol,
String host,
int port,
int timeout,
StringBuffer otherHeaders,
org.apache.axis.components.net.BooleanHolder useFullURL)
throws Exception
protocol - "http" for standard, "https" for ssl.host - host nameport - port to connect tootherHeaders - buffer for storing additional headers that need to be sentuseFullURL - flag to indicate if the complete URL has to be sentIOExceptionExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.