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:
java.io.Closeable
,java.lang.AutoCloseable
,org.apache.hc.core5.http.EntityDetails
,org.apache.hc.core5.http.HttpEntity
public class GzipDecompressingEntity extends DecompressingEntity
HttpEntityWrapper
for handling gzip Content Coded responses.- Since:
- 4.1
-
-
Constructor Summary
Constructors Constructor Description GzipDecompressingEntity(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
-
-
-
-
Constructor Detail
-
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
-
-