public class GZIPEncoding extends ContentEncoding
ContentEncoding.RequestInterceptor, ContentEncoding.ResponseInterceptor, ContentEncoding.Type
ACCEPT_ENC_HDR, CONTENT_ENC_HDR
Constructor and Description |
---|
GZIPEncoding() |
Modifier and Type | Method and Description |
---|---|
String |
getContentEncoding()
Returns the
ContentEncoding.Type.GZIP encoding string which is
added to the Accept-Encoding header by the base class. |
HttpEntity |
wrapResponseEntity(HttpEntity raw)
Wraps the raw entity in a
GZIPDecompressingEntity . |
getRequestInterceptor, getResponseInterceptor
public GZIPEncoding()
public String getContentEncoding()
ContentEncoding.Type.GZIP
encoding string which is
added to the Accept-Encoding
header by the base class.getContentEncoding
in class ContentEncoding
public HttpEntity wrapResponseEntity(HttpEntity raw)
GZIPDecompressingEntity
.wrapResponseEntity
in class ContentEncoding
Copyright © 2008-2014. All Rights Reserved.