Class AxisRequestEntityImpl
- java.lang.Object
-
- org.apache.axis2.transport.http.impl.httpclient4.AxisRequestEntityImpl
-
- All Implemented Interfaces:
org.apache.http.HttpEntity
public class AxisRequestEntityImpl extends Object implements org.apache.http.HttpEntity
This Request Entity is used by the HttpComponentsTransportSender. This wraps the Axis2 message formatter object.
-
-
Constructor Summary
Constructors Constructor Description AxisRequestEntityImpl(AxisRequestEntity entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsumeContent()InputStreamgetContent()org.apache.http.HeadergetContentEncoding()longgetContentLength()org.apache.http.HeadergetContentType()booleanisChunked()booleanisRepeatable()booleanisStreaming()voidwriteTo(OutputStream outputStream)
-
-
-
Constructor Detail
-
AxisRequestEntityImpl
public AxisRequestEntityImpl(AxisRequestEntity entity)
-
-
Method Detail
-
getContentType
public org.apache.http.Header getContentType()
- Specified by:
getContentTypein interfaceorg.apache.http.HttpEntity
-
getContentEncoding
public org.apache.http.Header getContentEncoding()
- Specified by:
getContentEncodingin interfaceorg.apache.http.HttpEntity
-
getContent
public InputStream getContent() throws IOException
- Specified by:
getContentin interfaceorg.apache.http.HttpEntity- Throws:
IOException
-
writeTo
public void writeTo(OutputStream outputStream) throws IOException
- Specified by:
writeToin interfaceorg.apache.http.HttpEntity- Throws:
IOException
-
isStreaming
public boolean isStreaming()
- Specified by:
isStreamingin interfaceorg.apache.http.HttpEntity
-
consumeContent
public void consumeContent()
- Specified by:
consumeContentin interfaceorg.apache.http.HttpEntity
-
getContentLength
public long getContentLength()
- Specified by:
getContentLengthin interfaceorg.apache.http.HttpEntity
-
isChunked
public boolean isChunked()
- Specified by:
isChunkedin interfaceorg.apache.http.HttpEntity
-
isRepeatable
public boolean isRepeatable()
- Specified by:
isRepeatablein interfaceorg.apache.http.HttpEntity
-
-