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 voidconsumeContent()java.io.InputStreamgetContent()voidwriteTo(java.io.OutputStream outStream)
-
-
-
Method Detail
-
consumeContent
public void consumeContent() throws java.io.IOException- Specified by:
consumeContentin interfaceorg.apache.http.HttpEntity- Overrides:
consumeContentin classorg.apache.http.entity.HttpEntityWrapper- Throws:
java.io.IOException
-
getContent
public java.io.InputStream getContent() throws java.io.IOException- Specified by:
getContentin interfaceorg.apache.http.HttpEntity- Overrides:
getContentin classorg.apache.http.entity.HttpEntityWrapper- Throws:
java.io.IOException
-
writeTo
public void writeTo(java.io.OutputStream outStream) throws java.io.IOException- Specified by:
writeToin interfaceorg.apache.http.HttpEntity- Overrides:
writeToin classorg.apache.http.entity.HttpEntityWrapper- Throws:
java.io.IOException
-
-