public class DeflateEncoding extends ContentEncoding
ContentEncoding.RequestInterceptor, ContentEncoding.ResponseInterceptor, ContentEncoding.Type
ACCEPT_ENC_HDR, CONTENT_ENC_HDR
Constructor and Description |
---|
DeflateEncoding() |
Modifier and Type | Method and Description |
---|---|
String |
getContentEncoding()
Returns the
ContentEncoding.Type.DEFLATE 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
InflaterEntity . |
getRequestInterceptor, getResponseInterceptor
public String getContentEncoding()
ContentEncoding.Type.DEFLATE
encoding string which is
added to the Accept-Encoding
header by the base class.getContentEncoding
in class ContentEncoding
public org.apache.http.HttpEntity wrapResponseEntity(org.apache.http.HttpEntity raw)
InflaterEntity
.wrapResponseEntity
in class ContentEncoding
Copyright © 2008–2018. All rights reserved.