org.apache.axis.transport.http
public class HTTPSender extends BasicHandler
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
makeLockable, name, options| Constructor and Description |
|---|
HTTPSender() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
getSocket(SocketHolder sockHolder,
MessageContext msgContext,
java.lang.String protocol,
java.lang.String host,
int port,
int timeout,
java.lang.StringBuffer otherHeaders,
BooleanHolder useFullURL)
Creates a socket connection to the SOAP server
|
void |
handleCookie(java.lang.String cookieName,
java.lang.String setCookieName,
java.lang.String cookie,
MessageContext msgContext)
little helper function for cookies.
|
void |
invoke(MessageContext msgContext)
invoke creates a socket connection, sends the request SOAP message and then
reads the response SOAP message back from the SOAP server
|
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockablepublic void invoke(MessageContext msgContext) throws AxisFault
msgContext - the messsage contextAxisFaultprotected void getSocket(SocketHolder sockHolder, MessageContext msgContext, java.lang.String protocol, java.lang.String host, int port, int timeout, java.lang.StringBuffer otherHeaders, BooleanHolder useFullURL) throws java.lang.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 sentjava.io.IOExceptionjava.lang.Exceptionpublic void handleCookie(java.lang.String cookieName,
java.lang.String setCookieName,
java.lang.String cookie,
MessageContext msgContext)
cookieName - setCookieName - cookie - msgContext - Copyright ? 2005 Apache Web Services Project. All Rights Reserved.