public abstract static class ContentDecoder.Factory
extends java.lang.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 |
Factory(java.lang.String encoding) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEncoding() |
int |
hashCode() |
abstract ContentDecoder |
newContentDecoder()
Factory method for
ContentDecoders |
public java.lang.String getEncoding()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic abstract ContentDecoder newContentDecoder()
ContentDecodersContentDecoderCopyright © 1995–2022 Webtide. All rights reserved.