public abstract class HTTPSender extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.axiom.om.OMOutputFormat |
format |
protected org.apache.axis2.description.TransportOutDescription |
proxyOutSetting |
| Constructor and Description |
|---|
HTTPSender() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Request |
createRequest(org.apache.axis2.context.MessageContext msgContext,
String methodName,
URL url,
AxisRequestEntity requestEntity)
Start a new HTTP request.
|
void |
send(org.apache.axis2.context.MessageContext msgContext,
URL url,
String soapActionString) |
void |
setChunked(boolean chunked) |
void |
setFormat(org.apache.axiom.om.OMOutputFormat format) |
void |
setHttpVersion(String version) |
protected org.apache.axis2.description.TransportOutDescription proxyOutSetting
protected org.apache.axiom.om.OMOutputFormat format
public void setChunked(boolean chunked)
public void setHttpVersion(String version) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic void setFormat(org.apache.axiom.om.OMOutputFormat format)
protected abstract Request createRequest(org.apache.axis2.context.MessageContext msgContext, String methodName, URL url, AxisRequestEntity requestEntity) throws org.apache.axis2.AxisFault
msgContext - The MessageContext of the request messagemethodName - The HTTP method nameurl - The target URLrequestEntity - The content of the request or null if the HTTP request shouldn't have any
content (e.g. for GET requests)org.apache.axis2.AxisFault - Thrown in case an exception occurspublic void send(org.apache.axis2.context.MessageContext msgContext,
URL url,
String soapActionString)
throws IOException
IOExceptionCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.