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
HttpEntityWrapper for handling gzip
Content Coded responses.- Since:
- 4.1
-
Constructor Summary
ConstructorsConstructorDescriptionGzipDecompressingEntity(HttpEntity entity) Creates a newGzipDecompressingEntitywhich will wrap the specifiedHttpEntity. -
Method Summary
Methods inherited from class org.apache.http.client.entity.DecompressingEntity
getContent, getContentEncoding, getContentLength, writeToMethods inherited from class org.apache.http.entity.HttpEntityWrapper
consumeContent, getContentType, isChunked, isRepeatable, isStreaming
-
Constructor Details
-
GzipDecompressingEntity
Creates a newGzipDecompressingEntitywhich will wrap the specifiedHttpEntity.- Parameters:
entity- the non-nullHttpEntityto be wrapped
-