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