public abstract static class ContentDecoder.Factory extends Object
ContentDecoders; subclasses must implement newContentDecoder().
ContentDecoder.Factory have an encoding, which is the string used in
Accept-Encoding request header and in Content-Encoding response headers.
ContentDecoder.Factory instances are configured in HttpClient via
HttpClient.getContentDecoderFactories().| Modifier | Constructor and Description |
|---|---|
protected |
ContentDecoder.Factory(String encoding) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getEncoding() |
int |
hashCode() |
abstract ContentDecoder |
newContentDecoder()
Factory method for
ContentDecoders |
protected ContentDecoder.Factory(String encoding)
public String getEncoding()
public abstract ContentDecoder newContentDecoder()
ContentDecodersContentDecoderCopyright © 1995-2015 Webtide. All Rights Reserved.