public class GzipCompressingEntity extends HttpEntityWrapper
writing.| Constructor and Description |
|---|
GzipCompressingEntity(HttpEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent() |
String |
getContentEncoding() |
long |
getContentLength() |
boolean |
isChunked() |
void |
writeTo(OutputStream outStream) |
close, getContentType, getTrailerNames, getTrailers, isRepeatable, isStreaming, toStringpublic GzipCompressingEntity(HttpEntity entity)
public String getContentEncoding()
getContentEncoding in interface EntityDetailsgetContentEncoding in class HttpEntityWrapperpublic long getContentLength()
getContentLength in interface EntityDetailsgetContentLength in class HttpEntityWrapperpublic boolean isChunked()
isChunked in interface EntityDetailsisChunked in class HttpEntityWrapperpublic InputStream getContent() throws IOException
getContent in interface HttpEntitygetContent in class HttpEntityWrapperIOExceptionpublic void writeTo(OutputStream outStream) throws IOException
writeTo in interface HttpEntitywriteTo in class HttpEntityWrapperIOExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.