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,
java.net.URL targetURL) |
void |
handleCookie(java.lang.String cookieName,
java.lang.String cookie,
MessageContext msgContext)
little helper function for cookies.
|
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(java.lang.String host,
java.lang.String nonProxyHosts)
Check if the specified host is in the list of non proxy hosts.
|
protected static boolean |
match(java.lang.String pattern,
java.lang.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(java.lang.String cookieName,
java.lang.String cookie,
MessageContext msgContext)
cookieName - setCookieName - cookie - msgContext - protected org.apache.commons.httpclient.HostConfiguration getHostConfiguration(org.apache.commons.httpclient.HttpClient client,
MessageContext context,
java.net.URL targetURL)
protected boolean isHostInNonProxyList(java.lang.String host,
java.lang.String nonProxyHosts)
host - host namenonProxyHosts - string containing the list of non proxy hostsprotected static boolean match(java.lang.String pattern,
java.lang.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 ? 2005 Apache Web Services Project. All Rights Reserved.