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 java.lang.ObjectDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Factory forContentDecoders; subclasses must implementnewContentDecoder().ContentDecoder.Factoryhave anencoding, which is the string used inAccept-Encodingrequest header and inContent-Encodingresponse headers.ContentDecoder.Factoryinstances are configured inHttpClientviaHttpClient.getContentDecoderFactories(). 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Deprecated.java.lang.StringgetEncoding()Deprecated.inthashCode()Deprecated.abstract ContentDecodernewContentDecoder()Deprecated.Factory method forContentDecoders 
 - 
 
- 
- 
Method Detail
- 
getEncoding
public java.lang.String getEncoding()
Deprecated.- Returns:
 - the type of the decoders created by this factory
 
 
- 
equals
public boolean equals(java.lang.Object obj)
Deprecated.- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
Deprecated.- Overrides:
 hashCodein classjava.lang.Object
 
- 
newContentDecoder
public abstract ContentDecoder newContentDecoder()
Deprecated.Factory method forContentDecoders- Returns:
 - a new instance of a 
ContentDecoder 
 
 - 
 
 -