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:
org.apache.http.HttpEntity
HttpEntityWrapper for handling gzip
Content Coded responses.- Since:
- 4.1
-
Field Summary
Fields inherited from class org.apache.http.entity.HttpEntityWrapper
wrappedEntity -
Constructor Summary
ConstructorsConstructorDescriptionGzipDecompressingEntity(org.apache.http.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
public GzipDecompressingEntity(org.apache.http.HttpEntity entity) Creates a newGzipDecompressingEntitywhich will wrap the specifiedHttpEntity.- Parameters:
entity- the non-nullHttpEntityto be wrapped
-