public class GZIPEncoding extends ContentEncoding
| Modifier and Type | Class and Description |
|---|---|
protected static class |
GZIPEncoding.GZIPDecompressingEntity
Entity used to interpret a GZIP-encoded response
|
ContentEncoding.RequestInterceptor, ContentEncoding.ResponseInterceptor, ContentEncoding.TypeACCEPT_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. |
org.apache.http.HttpEntity |
wrapResponseEntity(org.apache.http.HttpEntity raw)
Wraps the raw entity in a
GZIPEncoding.GZIPDecompressingEntity. |
getRequestInterceptor, getResponseInterceptorpublic String getContentEncoding()
ContentEncoding.Type.GZIP encoding string which is
added to the Accept-Encoding header by the base class.getContentEncoding in class ContentEncodingpublic org.apache.http.HttpEntity wrapResponseEntity(org.apache.http.HttpEntity raw)
GZIPEncoding.GZIPDecompressingEntity.wrapResponseEntity in class ContentEncodingCopyright © 2010–2014. All rights reserved.