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
@Deprecated(since="2021-05-27") public abstract static class ContentDecoder.Factory extends Object
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Factory forContentDecoder
s; subclasses must implementnewContentDecoder()
.ContentDecoder.Factory
have anencoding
, which is the string used inAccept-Encoding
request header and inContent-Encoding
response headers.ContentDecoder.Factory
instances are configured inHttpClient
viaHttpClient.getContentDecoderFactories()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
Deprecated.String
getEncoding()
Deprecated.int
hashCode()
Deprecated.abstract ContentDecoder
newContentDecoder()
Deprecated.Factory method forContentDecoder
s
-
-
-
Method Detail
-
getEncoding
public String getEncoding()
Deprecated.- Returns:
- the type of the decoders created by this factory
-
newContentDecoder
public abstract ContentDecoder newContentDecoder()
Deprecated.Factory method forContentDecoder
s- Returns:
- a new instance of a
ContentDecoder
-
-