Class DeflateInputStreamFactory
java.lang.Object
org.apache.hc.client5.http.entity.DeflateInputStreamFactory
- All Implemented Interfaces:
InputStreamFactory
@Deprecated
@Contract(threading=STATELESS)
public class DeflateInputStreamFactory
extends Object
implements InputStreamFactory
Deprecated.
InputStreamFactory for handling Deflate Content Coded responses.- Since:
- 5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.Canonical token for the deflate content-coding.private static final DeflateInputStreamFactoryDeprecated.Default instance ofDeflateInputStreamFactory. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(InputStream inputStream) Deprecated.static DeflateInputStreamFactoryDeprecated.Gets the singleton instance.
-
Field Details
-
ENCODING
Deprecated.Canonical token for the deflate content-coding.- Since:
- 5.6
- See Also:
-
INSTANCE
Deprecated.Default instance ofDeflateInputStreamFactory.
-
-
Constructor Details
-
DeflateInputStreamFactory
public DeflateInputStreamFactory()Deprecated.
-
-
Method Details
-
getInstance
Deprecated.Gets the singleton instance.- Returns:
- the singleton instance.
-
create
Deprecated.- Specified by:
createin interfaceInputStreamFactory- Throws:
IOException
-
ContentCodecRegistry.decoder(org.apache.hc.client5.http.entity.compress.ContentCoding)