public class CommonsHTTPSender extends BasicHandler
| Modifier and Type | Field and Description |
|---|---|
protected CommonsHTTPClientProperties |
clientProperties |
protected org.apache.commons.httpclient.HttpConnectionManager |
connectionManager |
protected static org.apache.commons.logging.Log |
log
Field log
|
makeLockable, name, options| Constructor and Description |
|---|
CommonsHTTPSender() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.commons.httpclient.HostConfiguration |
getHostConfiguration(org.apache.commons.httpclient.HttpClient client,
MessageContext context,
URL targetURL) |
void |
handleCookie(String cookieName,
String cookie,
MessageContext msgContext)
little helper function for cookies. fills up the message context with
a string or an array of strings (if there are more than one Set-Cookie)
|
protected void |
initialize() |
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
|
protected boolean |
isHostInNonProxyList(String host,
String nonProxyHosts)
Check if the specified host is in the list of non proxy hosts.
|
protected static boolean |
match(String pattern,
String str,
boolean isCaseSensitive)
Matches a string against a pattern.
|
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockableprotected static org.apache.commons.logging.Log log
protected org.apache.commons.httpclient.HttpConnectionManager connectionManager
protected CommonsHTTPClientProperties clientProperties
protected void initialize()
public void invoke(MessageContext msgContext) throws AxisFault
msgContext - the messsage contextAxisFaultpublic void handleCookie(String cookieName, String cookie, MessageContext msgContext)
cookieName - setCookieName - cookie - msgContext - protected org.apache.commons.httpclient.HostConfiguration getHostConfiguration(org.apache.commons.httpclient.HttpClient client,
MessageContext context,
URL targetURL)
protected boolean isHostInNonProxyList(String host, String nonProxyHosts)
host - host namenonProxyHosts - string containing the list of non proxy hostsprotected static boolean match(String pattern, String str, boolean isCaseSensitive)
pattern - the (non-null) pattern to match againststr - the (non-null) string that must be matched against the
patternisCaseSensitive - true when the string matches against the pattern,
false otherwise.Copyright © The Apache Software Foundation. All Rights Reserved.