class EntityEnclosingRequestWrapper.EntityWrapper
extends org.apache.http.entity.HttpEntityWrapper
| Constructor and Description |
|---|
EntityWrapper(org.apache.http.HttpEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
consumeContent() |
java.io.InputStream |
getContent() |
void |
writeTo(java.io.OutputStream outstream) |
public void consumeContent()
throws java.io.IOException
consumeContent in interface org.apache.http.HttpEntityconsumeContent in class org.apache.http.entity.HttpEntityWrapperjava.io.IOExceptionpublic java.io.InputStream getContent()
throws java.io.IOException
getContent in interface org.apache.http.HttpEntitygetContent in class org.apache.http.entity.HttpEntityWrapperjava.io.IOExceptionpublic void writeTo(java.io.OutputStream outstream)
throws java.io.IOException
writeTo in interface org.apache.http.HttpEntitywriteTo in class org.apache.http.entity.HttpEntityWrapperjava.io.IOException