Class GzipDecompressingEntity
java.lang.Object
org.apache.hc.core5.http.io.entity.HttpEntityWrapper
org.apache.hc.client5.http.entity.DecompressingEntity
org.apache.hc.client5.http.entity.GzipDecompressingEntity
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hc.core5.http.EntityDetails
,org.apache.hc.core5.http.HttpEntity
HttpEntityWrapper
for handling
gzip Content Coded responses.- Since:
- 4.1
-
Constructor Summary
ConstructorsConstructorDescriptionGzipDecompressingEntity
(org.apache.hc.core5.http.HttpEntity entity) Creates a newGzipDecompressingEntity
which will wrap the specifiedHttpEntity
. -
Method Summary
Methods inherited from class org.apache.hc.client5.http.entity.DecompressingEntity
getContent, getContentEncoding, getContentLength, writeTo
Methods inherited from class org.apache.hc.core5.http.io.entity.HttpEntityWrapper
close, getContentType, getTrailerNames, getTrailers, isChunked, isRepeatable, isStreaming, toString
-
Constructor Details
-
GzipDecompressingEntity
public GzipDecompressingEntity(org.apache.hc.core5.http.HttpEntity entity) Creates a newGzipDecompressingEntity
which will wrap the specifiedHttpEntity
.- Parameters:
entity
- the non-nullHttpEntity
to be wrapped
-