org.apache.axis2.transport.http
Class RESTRequestEntity

java.lang.Object
  extended by org.apache.axis2.transport.http.RESTRequestEntity
All Implemented Interfaces:
org.apache.commons.httpclient.methods.RequestEntity

public class RESTRequestEntity
extends java.lang.Object
implements org.apache.commons.httpclient.methods.RequestEntity


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

Constructor Detail

RESTRequestEntity

public RESTRequestEntity(org.apache.axiom.om.OMElement element,
                         boolean chunked,
                         MessageContext msgCtxt,
                         java.lang.String charSetEncoding,
                         java.lang.String soapActionString,
                         org.apache.axiom.om.OMOutputFormat format)
Method Detail

writeBytes

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

writeRequest

public void writeRequest(java.io.OutputStream out)
                  throws java.io.IOException
Specified by:
writeRequest in interface org.apache.commons.httpclient.methods.RequestEntity
Throws:
java.io.IOException

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface org.apache.commons.httpclient.methods.RequestEntity

getContentType

public java.lang.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


Copyright © 2007 Apache Web Services Project. All Rights Reserved.