|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis.handlers.BasicHandler
org.apache.axis.transport.http.CommonsHTTPSender
This class uses Jakarta Commons's HttpClient to call a SOAP server.
Field Summary | |
protected CommonsHTTPClientProperties |
clientProperties
|
protected org.apache.commons.httpclient.HttpConnectionManager |
connectionManager
|
protected static org.apache.commons.logging.Log |
log
Field log |
Fields inherited from class org.apache.axis.handlers.BasicHandler |
makeLockable, name, options |
Constructor Summary | |
CommonsHTTPSender()
|
Method Summary | |
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. |
Methods inherited from class org.apache.axis.handlers.BasicHandler |
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.commons.logging.Log log
protected org.apache.commons.httpclient.HttpConnectionManager connectionManager
protected CommonsHTTPClientProperties clientProperties
Constructor Detail |
public CommonsHTTPSender()
Method Detail |
protected void initialize()
public void invoke(MessageContext msgContext) throws AxisFault
msgContext
- the messsage context
AxisFault
public void handleCookie(java.lang.String cookieName, java.lang.String cookie, MessageContext msgContext)
cookieName
- 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 hosts
protected 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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |