Class GZIPEncoding
java.lang.Object
groovyx.net.http.ContentEncoding
groovyx.net.http.GZIPEncoding
Content encoding used to handle GZIP responses.
-
Nested Class Summary
Nested classes/interfaces inherited from class ContentEncoding
ContentEncoding.RequestInterceptor, ContentEncoding.ResponseInterceptor, ContentEncoding.Type -
Field Summary
Fields inherited from class ContentEncoding
ACCEPT_ENC_HDR, CONTENT_ENC_HDR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theContentEncoding.Type.GZIPencoding string which is added to theAccept-Encodingheader by the base class.org.apache.http.HttpEntitywrapResponseEntity(org.apache.http.HttpEntity raw) Wraps the raw entity in a.invalid reference
GZIPDecompressingEntityMethods inherited from class ContentEncoding
getRequestInterceptor, getResponseInterceptor
-
Constructor Details
-
GZIPEncoding
public GZIPEncoding()
-
-
Method Details
-
getContentEncoding
Returns theContentEncoding.Type.GZIPencoding string which is added to theAccept-Encodingheader by the base class.- Specified by:
getContentEncodingin classContentEncoding
-
wrapResponseEntity
public org.apache.http.HttpEntity wrapResponseEntity(org.apache.http.HttpEntity raw) Wraps the raw entity in a.invalid reference
GZIPDecompressingEntity- Specified by:
wrapResponseEntityin classContentEncoding
-