Class DeflateInputStreamFactory
- java.lang.Object
-
- org.apache.hc.client5.http.entity.DeflateInputStreamFactory
-
- All Implemented Interfaces:
InputStreamFactory
@Deprecated @Contract(threading=STATELESS) public class DeflateInputStreamFactory extends java.lang.Object implements InputStreamFactory
Deprecated.InputStreamFactoryfor handling Deflate Content Coded responses.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringENCODINGDeprecated.Canonical token for the deflate content-coding.private static DeflateInputStreamFactoryINSTANCEDeprecated.Default instance ofDeflateInputStreamFactory.
-
Constructor Summary
Constructors Constructor Description DeflateInputStreamFactory()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.io.InputStreamcreate(java.io.InputStream inputStream)Deprecated.static DeflateInputStreamFactorygetInstance()Deprecated.Gets the singleton instance.
-
-
-
Field Detail
-
ENCODING
public static final java.lang.String ENCODING
Deprecated.Canonical token for the deflate content-coding.- Since:
- 5.6
- See Also:
- Constant Field Values
-
INSTANCE
private static final DeflateInputStreamFactory INSTANCE
Deprecated.Default instance ofDeflateInputStreamFactory.
-
-
Method Detail
-
getInstance
public static DeflateInputStreamFactory getInstance()
Deprecated.Gets the singleton instance.- Returns:
- the singleton instance.
-
create
public java.io.InputStream create(java.io.InputStream inputStream) throws java.io.IOExceptionDeprecated.- Specified by:
createin interfaceInputStreamFactory- Throws:
java.io.IOException
-
-