public final class DeflateCompressingEntity extends HttpEntityWrapper
Content-Encoding: deflate on write-out.| Constructor and Description |
|---|
DeflateCompressingEntity(HttpEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent() |
String |
getContentEncoding() |
long |
getContentLength() |
boolean |
isChunked() |
void |
writeTo(OutputStream out) |
close, getContentType, getTrailerNames, getTrailers, isRepeatable, isStreaming, toStringpublic DeflateCompressingEntity(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 out) throws IOException
writeTo in interface HttpEntitywriteTo in class HttpEntityWrapperIOExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.