public abstract class ContentEncoding extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
ContentEncoding.RequestInterceptor
Request interceptor that adds the correct
Accept header
to the outgoing request. |
protected class |
ContentEncoding.ResponseInterceptor
Response interceptor that filters the response stream to decode the
compressed content before it is passed on to the parser.
|
static class |
ContentEncoding.Type
Enumeration of common content-encodings.
|
Modifier and Type | Field and Description |
---|---|
static String |
ACCEPT_ENC_HDR |
static String |
CONTENT_ENC_HDR |
Constructor and Description |
---|
ContentEncoding() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getContentEncoding() |
org.apache.http.HttpRequestInterceptor |
getRequestInterceptor() |
org.apache.http.HttpResponseInterceptor |
getResponseInterceptor() |
protected abstract org.apache.http.HttpEntity |
wrapResponseEntity(org.apache.http.HttpEntity raw) |
public static final String ACCEPT_ENC_HDR
public static final String CONTENT_ENC_HDR
protected abstract String getContentEncoding()
protected abstract org.apache.http.HttpEntity wrapResponseEntity(org.apache.http.HttpEntity raw)
public org.apache.http.HttpRequestInterceptor getRequestInterceptor()
public org.apache.http.HttpResponseInterceptor getResponseInterceptor()
Copyright © 2010–2019. All rights reserved.