public class GzipCompressingEntity
extends org.apache.http.entity.HttpEntityWrapper
writing.| Constructor and Description |
|---|
GzipCompressingEntity(org.apache.http.HttpEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getContent() |
org.apache.http.Header |
getContentEncoding() |
long |
getContentLength() |
boolean |
isChunked() |
void |
writeTo(java.io.OutputStream outstream) |
public GzipCompressingEntity(org.apache.http.HttpEntity entity)
public org.apache.http.Header getContentEncoding()
getContentEncoding in interface org.apache.http.HttpEntitygetContentEncoding in class org.apache.http.entity.HttpEntityWrapperpublic long getContentLength()
getContentLength in interface org.apache.http.HttpEntitygetContentLength in class org.apache.http.entity.HttpEntityWrapperpublic boolean isChunked()
isChunked in interface org.apache.http.HttpEntityisChunked in class org.apache.http.entity.HttpEntityWrapperpublic 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