Class ContentDecoder.Factory
java.lang.Object
org.eclipse.jetty.client.ContentDecoder.Factory
- Direct Known Subclasses:
GZIPContentDecoder.Factory
- Enclosing interface:
ContentDecoder
Factory for
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().
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()abstract ContentDecoderFactory method forContentDecoders
-
Constructor Details
-
Factory
-
-
Method Details
-
getEncoding
- Returns:
- the type of the decoders created by this factory
-
equals
-
hashCode
-
newContentDecoder
Factory method forContentDecoders- Returns:
- a new instance of a
ContentDecoder
-