Package org.apache.http.impl.client
Class EntityEnclosingRequestWrapper.EntityWrapper
- java.lang.Object
-
- org.apache.http.entity.HttpEntityWrapper
-
- org.apache.http.impl.client.EntityEnclosingRequestWrapper.EntityWrapper
-
- All Implemented Interfaces:
org.apache.http.HttpEntity
- Enclosing class:
- EntityEnclosingRequestWrapper
class EntityEnclosingRequestWrapper.EntityWrapper extends org.apache.http.entity.HttpEntityWrapper
-
-
Constructor Summary
Constructors Constructor Description EntityWrapper(org.apache.http.HttpEntity entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeContent()
java.io.InputStream
getContent()
void
writeTo(java.io.OutputStream outStream)
-
-
-
Method Detail
-
consumeContent
public void consumeContent() throws java.io.IOException
- Specified by:
consumeContent
in interfaceorg.apache.http.HttpEntity
- Overrides:
consumeContent
in classorg.apache.http.entity.HttpEntityWrapper
- Throws:
java.io.IOException
-
getContent
public java.io.InputStream getContent() throws java.io.IOException
- Specified by:
getContent
in interfaceorg.apache.http.HttpEntity
- Overrides:
getContent
in classorg.apache.http.entity.HttpEntityWrapper
- Throws:
java.io.IOException
-
writeTo
public void writeTo(java.io.OutputStream outStream) throws java.io.IOException
- Specified by:
writeTo
in interfaceorg.apache.http.HttpEntity
- Overrides:
writeTo
in classorg.apache.http.entity.HttpEntityWrapper
- Throws:
java.io.IOException
-
-