org.apache.axis.transport.http
public class CommonsHTTPSender extends BasicHandler
Field Summary | |
---|---|
protected CommonsHTTPClientProperties | clientProperties |
protected HttpConnectionManager | connectionManager |
protected static Log | log Field log |
Constructor Summary | |
---|---|
CommonsHTTPSender() |
Method Summary | |
---|---|
protected HostConfiguration | getHostConfiguration(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. |
Parameters: cookieName setCookieName cookie msgContext
Parameters: msgContext the messsage context
Throws: AxisFault
Parameters: host host name nonProxyHosts string containing the list of non proxy hosts
Returns: true/false
Parameters: pattern the (non-null) pattern to match against str the (non-null) string that must be matched against the pattern isCaseSensitive
Returns: true
when the string matches against the pattern,
false
otherwise.