public class GzipCompressingEntity
extends org.apache.hc.core5.http.io.entity.HttpEntityWrapper
writing.| Constructor and Description | 
|---|
| GzipCompressingEntity(org.apache.hc.core5.http.HttpEntity entity) | 
| Modifier and Type | Method and Description | 
|---|---|
| InputStream | getContent() | 
| String | getContentEncoding() | 
| long | getContentLength() | 
| boolean | isChunked() | 
| void | writeTo(OutputStream outStream) | 
public GzipCompressingEntity(org.apache.hc.core5.http.HttpEntity entity)
public String getContentEncoding()
getContentEncoding in interface org.apache.hc.core5.http.EntityDetailsgetContentEncoding in class org.apache.hc.core5.http.io.entity.HttpEntityWrapperpublic long getContentLength()
getContentLength in interface org.apache.hc.core5.http.EntityDetailsgetContentLength in class org.apache.hc.core5.http.io.entity.HttpEntityWrapperpublic boolean isChunked()
isChunked in interface org.apache.hc.core5.http.EntityDetailsisChunked in class org.apache.hc.core5.http.io.entity.HttpEntityWrapperpublic InputStream getContent() throws IOException
getContent in interface org.apache.hc.core5.http.HttpEntitygetContent in class org.apache.hc.core5.http.io.entity.HttpEntityWrapperIOExceptionpublic void writeTo(OutputStream outStream) throws IOException
writeTo in interface org.apache.hc.core5.http.HttpEntitywriteTo in class org.apache.hc.core5.http.io.entity.HttpEntityWrapperIOExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.