Package org.apache.http.client.entity
Class GzipDecompressingEntity
- java.lang.Object
-
- org.apache.http.entity.HttpEntityWrapper
-
- org.apache.http.client.entity.DecompressingEntity
-
- org.apache.http.client.entity.GzipDecompressingEntity
-
- All Implemented Interfaces:
HttpEntity
public class GzipDecompressingEntity extends DecompressingEntity
HttpEntityWrapper
for handling gzip Content Coded responses.- Since:
- 4.1
-
-
Constructor Summary
Constructors Constructor Description GzipDecompressingEntity(HttpEntity entity)
Creates a newGzipDecompressingEntity
which will wrap the specifiedHttpEntity
.
-
Method Summary
-
Methods inherited from class org.apache.http.client.entity.DecompressingEntity
getContent, getContentEncoding, getContentLength, writeTo
-
Methods inherited from class org.apache.http.entity.HttpEntityWrapper
consumeContent, getContentType, isChunked, isRepeatable, isStreaming
-
-
-
-
Constructor Detail
-
GzipDecompressingEntity
public GzipDecompressingEntity(HttpEntity entity)
Creates a newGzipDecompressingEntity
which will wrap the specifiedHttpEntity
.- Parameters:
entity
- the non-nullHttpEntity
to be wrapped
-
-