| java.lang.Object org.apache.axis2.transport.http.AbstractHTTPSender
All known Subclasses: org.apache.axis2.transport.http.HTTPSender,
AbstractHTTPSender | abstract public class AbstractHTTPSender (Code) | | |
Method Summary | |
public void | addCustomHeaders(HttpMethod method, MessageContext msgContext) | protected void | executeMethod(HttpClient httpClient, MessageContext msgContext, URL url, HttpMethod method) | protected HostConfiguration | getHostConfiguration(HttpClient client, MessageContext msgCtx, URL targetURL) | protected HttpClient | getHttpClient(MessageContext msgContext) | protected void | initializeTimeouts(MessageContext msgContext, HttpClient httpClient) This is used to get the dynamically set time out values from the
message context. | protected boolean | isAuthenticationEnabled(MessageContext msgCtx) | protected void | obtainHTTPHeaderInformation(HttpMethodBase method, MessageContext msgContext) Collect the HTTP header information and set them in the message context
Parameters: method - HttpMethodBase from which to get information Parameters: msgContext - the MessageContext in which to place the information... | protected MessageFormatter | populateCommonProperties(MessageContext msgContext, URL url, HttpMethodBase httpMethod, HttpClient httpClient, String soapActionString) | protected void | processResponse(HttpMethodBase httpMethod, MessageContext msgContext) | abstract public void | send(MessageContext msgContext, URL url, String soapActionString) | protected void | setAuthenticationInfo(HttpClient agent, MessageContext msgCtx, HostConfiguration config) | public void | setChunked(boolean chunked) | public void | setFormat(OMOutputFormat format) | public void | setHttpVersion(String version) |
PROTOCOL_HTTP | final protected static String PROTOCOL_HTTP(Code) | | |
PROTOCOL_HTTPS | final protected static String PROTOCOL_HTTPS(Code) | | |
PROXY_HOST_NAME | final protected static String PROXY_HOST_NAME(Code) | | |
chunked | protected boolean chunked(Code) | | |
format | protected OMOutputFormat format(Code) | | |
isAllowedRetry | protected boolean isAllowedRetry(Code) | | isAllowedRetry will be using to check where the
retry should be allowed or not.
|
getHostConfiguration | protected HostConfiguration getHostConfiguration(HttpClient client, MessageContext msgCtx, URL targetURL) throws AxisFault(Code) | | getting host configuration to support standard http/s, proxy and NTLM support
Parameters: client - active HttpClient Parameters: msgCtx - active MessageContext Parameters: targetURL - the target URL a HostConfiguration set up with proxy information throws: AxisFault - if problems occur |
initializeTimeouts | protected void initializeTimeouts(MessageContext msgContext, HttpClient httpClient)(Code) | | This is used to get the dynamically set time out values from the
message context. If the values are not available or invalid then
the default values or the values set by the configuration will be used
Parameters: msgContext - the active MessageContext Parameters: httpClient - |
obtainHTTPHeaderInformation | protected void obtainHTTPHeaderInformation(HttpMethodBase method, MessageContext msgContext) throws AxisFault(Code) | | Collect the HTTP header information and set them in the message context
Parameters: method - HttpMethodBase from which to get information Parameters: msgContext - the MessageContext in which to place the information... OR NOT! throws: AxisFault - if problems occur |
populateCommonProperties | protected MessageFormatter populateCommonProperties(MessageContext msgContext, URL url, HttpMethodBase httpMethod, HttpClient httpClient, String soapActionString) throws AxisFault(Code) | | Method used to copy all the common properties
Parameters: msgContext - - The messageContext of the request message Parameters: url - - The target URL Parameters: httpMethod - - The http method used to send the request Parameters: httpClient - - The httpclient used to send the request Parameters: soapActionString - - The soap action atring of the request message MessageFormatter - The messageFormatter for the relavent request message throws: AxisFault - - Thrown in case an exception occurs |
setAuthenticationInfo | protected void setAuthenticationInfo(HttpClient agent, MessageContext msgCtx, HostConfiguration config) throws AxisFault(Code) | | |
setChunked | public void setChunked(boolean chunked)(Code) | | |
setFormat | public void setFormat(OMOutputFormat format)(Code) | | |
|
|