org.apache.axis2.transport.http
Class RESTSender.AxisRequestEntity

java.lang.Object
  extended byorg.apache.axis2.transport.http.RESTSender.AxisRequestEntity
All Implemented Interfaces:
org.apache.commons.httpclient.methods.RequestEntity
Enclosing class:
RESTSender

public class RESTSender.AxisRequestEntity
extends Object
implements org.apache.commons.httpclient.methods.RequestEntity


Constructor Summary
RESTSender.AxisRequestEntity(org.apache.axiom.om.OMElement element, boolean chunked, MessageContext msgCtxt, String charSetEncoding, String soapActionString)
           
 
Method Summary
 long getContentLength()
           
 String getContentType()
           
 boolean isRepeatable()
           
 byte[] writeBytes()
           
 void writeRequest(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RESTSender.AxisRequestEntity

public RESTSender.AxisRequestEntity(org.apache.axiom.om.OMElement element,
                                    boolean chunked,
                                    MessageContext msgCtxt,
                                    String charSetEncoding,
                                    String soapActionString)
Method Detail

writeBytes

public byte[] writeBytes()
                  throws AxisFault
Throws:
AxisFault

writeRequest

public void writeRequest(OutputStream out)
                  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

isRepeatable

public boolean isRepeatable()
Specified by:
isRepeatable in interface org.apache.commons.httpclient.methods.RequestEntity