public class DeflateEncoding extends ContentEncoding
Modifier and Type | Class and Description |
---|---|
static class |
DeflateEncoding.InflaterEntity
Entity used to interpret a Deflate-encoded response
|
ContentEncoding.RequestInterceptor, ContentEncoding.ResponseInterceptor, ContentEncoding.Type
ACCEPT_ENC_HDR, CONTENT_ENC_HDR
Constructor and Description |
---|
DeflateEncoding(boolean useNoWrapForInflateDecoding) |
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
DeflateEncoding.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)
DeflateEncoding.InflaterEntity
.wrapResponseEntity
in class ContentEncoding
Copyright © 2010–2017. All rights reserved.