public class ResponseContentEncoding
extends java.lang.Object
HttpResponseInterceptor responsible for processing Content-Encoding
responses.
Instances of this class are stateless and immutable, therefore threadsafe.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
UNCOMPRESSED |
| Constructor and Description |
|---|
ResponseContentEncoding()
Handles
gzip and deflate compressed entities by using the following
decoders:
gzip - see GZIPInputStream
deflate - see DeflateInputStream
|
ResponseContentEncoding(<any> decoderRegistry) |
ResponseContentEncoding(<any> decoderRegistry,
boolean ignoreUnknown) |
ResponseContentEncoding(boolean ignoreUnknown) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(HttpResponse response,
HttpContext context) |
public static final java.lang.String UNCOMPRESSED
public ResponseContentEncoding(<any> decoderRegistry,
boolean ignoreUnknown)
public ResponseContentEncoding(boolean ignoreUnknown)
public ResponseContentEncoding(<any> decoderRegistry)
public ResponseContentEncoding()
gzip and deflate compressed entities by using the following
decoders:
GZIPInputStreamDeflateInputStream