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 |
|---|---|
InputStream |
getContent() |
org.apache.http.Header |
getContentEncoding() |
long |
getContentLength() |
boolean |
isChunked() |
void |
writeTo(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 InputStream getContent() throws IOException
getContent in interface org.apache.http.HttpEntitygetContent in class org.apache.http.entity.HttpEntityWrapperIOExceptionpublic void writeTo(OutputStream outStream) throws IOException
writeTo in interface org.apache.http.HttpEntitywriteTo in class org.apache.http.entity.HttpEntityWrapperIOExceptionCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.