Class GzipCompressingEntity
java.lang.Object
org.apache.http.entity.HttpEntityWrapper
org.apache.http.client.entity.GzipCompressingEntity
- All Implemented Interfaces:
HttpEntity
Wrapping entity that compresses content when
writing.- Since:
- 4.0
-
Field Summary
Fields inherited from class HttpEntityWrapper
wrappedEntity -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HttpEntityWrapper
consumeContent, getContentType, isRepeatable, isStreaming
-
Constructor Details
-
GzipCompressingEntity
-
-
Method Details
-
getContentEncoding
- Specified by:
getContentEncodingin interfaceHttpEntity- Overrides:
getContentEncodingin classHttpEntityWrapper
-
getContentLength
public long getContentLength()- Specified by:
getContentLengthin interfaceHttpEntity- Overrides:
getContentLengthin classHttpEntityWrapper
-
isChunked
public boolean isChunked()- Specified by:
isChunkedin interfaceHttpEntity- Overrides:
isChunkedin classHttpEntityWrapper
-
getContent
- Specified by:
getContentin interfaceHttpEntity- Overrides:
getContentin classHttpEntityWrapper- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceHttpEntity- Overrides:
writeToin classHttpEntityWrapper- Throws:
IOException
-