public abstract class HTTPSender extends AbstractHTTPSender
Modifier and Type | Class and Description |
---|---|
protected static class |
HTTPSender.HTTPStatusCodeFamily
The set of HTTP status code families.
|
chunked, format, httpVersion, isAllowedRetry, proxyOutSetting
Constructor and Description |
---|
HTTPSender() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
cleanup(MessageContext msgContext,
Object httpMethod) |
protected HTTPSender.HTTPStatusCodeFamily |
getHTTPStatusCodeFamily(int statusCode)
Used to determine the family of HTTP status codes to which the given code
belongs.
|
protected abstract void |
handleResponse(MessageContext msgContext,
Object httpMethodBase)
Used to handle the HTTP Response
|
void |
send(MessageContext msgContext,
URL url,
String soapActionString) |
protected abstract void |
sendViaDelete(MessageContext msgContext,
URL url,
String soapActiionString)
Used to send a request via HTTP Delete Method
|
protected abstract void |
sendViaGet(MessageContext msgContext,
URL url,
String soapActiionString)
Used to send a request via HTTP Get method
|
protected abstract void |
sendViaPost(MessageContext msgContext,
URL url,
String soapActionString)
Used to send a request via HTTP Post Method
|
protected abstract void |
sendViaPut(MessageContext msgContext,
URL url,
String soapActionString)
Used to send a request via HTTP Put Method
|
setChunked, setFormat, setHttpVersion
protected abstract void sendViaGet(MessageContext msgContext, URL url, String soapActiionString) throws AxisFault
msgContext
- - The MessageContext of the messageurl
- - The target URLsoapActiionString
- - The soapAction string of the requestAxisFault
- - Thrown in case an exception occursprotected abstract void sendViaDelete(MessageContext msgContext, URL url, String soapActiionString) throws AxisFault
msgContext
- - The MessageContext of the messageurl
- - The target URLsoapActiionString
- - The soapAction string of the requestAxisFault
- - Thrown in case an exception occursprotected abstract void sendViaPost(MessageContext msgContext, URL url, String soapActionString) throws AxisFault
msgContext
- - The MessageContext of the messageurl
- - The target URLsoapActionString
- - The soapAction string of the requestAxisFault
- - Thrown in case an exception occursprotected abstract void sendViaPut(MessageContext msgContext, URL url, String soapActionString) throws AxisFault
msgContext
- - The MessageContext of the messageurl
- - The target URLsoapActionString
- - The soapAction string of the requestAxisFault
- - Thrown in case an exception occursprotected abstract void handleResponse(MessageContext msgContext, Object httpMethodBase) throws IOException
msgContext
- - The MessageContext of the messagemethod
- - The HTTP method usedIOException
- - Thrown in case an exception occursprotected abstract void cleanup(MessageContext msgContext, Object httpMethod)
public void send(MessageContext msgContext, URL url, String soapActionString) throws IOException
send
in class AbstractHTTPSender
IOException
protected HTTPSender.HTTPStatusCodeFamily getHTTPStatusCodeFamily(int statusCode)
statusCode
- - The HTTP status codeCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.