|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis.handlers.BasicHandler
com.metamatrix.connector.xml.soap.CommonsHTTPSender
public class CommonsHTTPSender
This class uses Jakarta Commons's HttpClient to call a SOAP server.
Field Summary | |
---|---|
protected org.apache.axis.components.net.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 | |
---|---|
java.io.InputStream |
createStreamFilters(org.apache.commons.httpclient.HttpMethodBase method)
|
protected org.apache.commons.httpclient.HostConfiguration |
getHostConfiguration(org.apache.commons.httpclient.HttpClient client,
org.apache.axis.MessageContext context,
java.net.URL targetURL)
|
void |
handleCookie(java.lang.String cookieName,
java.lang.String cookie,
org.apache.axis.MessageContext msgContext)
little helper function for cookies. |
protected void |
initialize()
|
void |
invoke(org.apache.axis.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 org.apache.axis.components.net.CommonsHTTPClientProperties clientProperties
Constructor Detail |
---|
public CommonsHTTPSender()
Method Detail |
---|
protected void initialize()
public void invoke(org.apache.axis.MessageContext msgContext) throws org.apache.axis.AxisFault
msgContext
- the messsage context
org.apache.axis.AxisFault
public void handleCookie(java.lang.String cookieName, java.lang.String cookie, org.apache.axis.MessageContext msgContext)
cookieName
- setCookieName
- cookie
- msgContext
- protected org.apache.commons.httpclient.HostConfiguration getHostConfiguration(org.apache.commons.httpclient.HttpClient client, org.apache.axis.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.public java.io.InputStream createStreamFilters(org.apache.commons.httpclient.HttpMethodBase method) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |