Package org.apache.axis2.transport.http
Class HTTPSender
java.lang.Object
org.apache.axis2.transport.http.HTTPSender
- Direct Known Subclasses:
HTTPSenderImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.axiom.om.OMOutputFormatprotected org.apache.axis2.description.TransportOutDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RequestcreateRequest(org.apache.axis2.context.MessageContext msgContext, String methodName, URL url, AxisRequestEntity requestEntity) Start a new HTTP request.voidvoidsetChunked(boolean chunked) voidsetFormat(org.apache.axiom.om.OMOutputFormat format) voidsetHttpVersion(String version)
-
Field Details
-
proxyOutSetting
protected org.apache.axis2.description.TransportOutDescription proxyOutSetting -
format
protected org.apache.axiom.om.OMOutputFormat format
-
-
Constructor Details
-
HTTPSender
public HTTPSender()
-
-
Method Details
-
setChunked
public void setChunked(boolean chunked) -
setHttpVersion
- Throws:
org.apache.axis2.AxisFault
-
setFormat
public void setFormat(org.apache.axiom.om.OMOutputFormat format) -
createRequest
protected abstract Request createRequest(org.apache.axis2.context.MessageContext msgContext, String methodName, URL url, AxisRequestEntity requestEntity) throws org.apache.axis2.AxisFault Start a new HTTP request.- Parameters:
msgContext- The MessageContext of the request messagemethodName- The HTTP method nameurl- The target URLrequestEntity- The content of the request ornullif the HTTP request shouldn't have any content (e.g. forGETrequests)- Throws:
org.apache.axis2.AxisFault- Thrown in case an exception occurs
-
send
public void send(org.apache.axis2.context.MessageContext msgContext, URL url, String soapActionString) throws IOException - Throws:
IOException
-