org.apache.axis2.transport.http
Class AxisRequestEntity
java.lang.Object
org.apache.axis2.transport.http.AxisRequestEntity
- All Implemented Interfaces:
- org.apache.commons.httpclient.methods.RequestEntity
public class AxisRequestEntity
- extends Object
- implements org.apache.commons.httpclient.methods.RequestEntity
This Request Entity is used by the HTTPCommonsTransportSender. This wraps the
Axis2 message formatter object.
Constructor Summary |
AxisRequestEntity(MessageFormatter messageFormatter,
MessageContext msgContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction,
boolean chunked,
boolean isAllowedRetry)
Method calls to this request entity are delegated to the following Axis2
message formatter object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxisRequestEntity
public AxisRequestEntity(MessageFormatter messageFormatter,
MessageContext msgContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction,
boolean chunked,
boolean isAllowedRetry)
- Method calls to this request entity are delegated to the following Axis2
message formatter object.
- Parameters:
messageFormatter
-
isRepeatable
public boolean isRepeatable()
- Specified by:
isRepeatable
in interface org.apache.commons.httpclient.methods.RequestEntity
writeRequest
public void writeRequest(OutputStream outStream)
throws IOException
- Specified by:
writeRequest
in interface org.apache.commons.httpclient.methods.RequestEntity
- Throws:
IOException
getContentLength
public long getContentLength()
- Specified by:
getContentLength
in interface org.apache.commons.httpclient.methods.RequestEntity
getContentType
public String getContentType()
- Specified by:
getContentType
in interface org.apache.commons.httpclient.methods.RequestEntity
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.