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