Class GZIPInputStreamFactory
- java.lang.Object
-
- org.apache.hc.client5.http.entity.GZIPInputStreamFactory
-
- All Implemented Interfaces:
InputStreamFactory
@Deprecated @Contract(threading=STATELESS) public class GZIPInputStreamFactory extends java.lang.Object implements InputStreamFactory
Deprecated.– the public extension point has moved toDecompressingEntity. For built-in gzip support useContentCodecRegistryor wrap a stream directly withInputStreamFactoryfor handling GZIPContent Coded responses.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringENCODINGDeprecated.Canonical token for the gzip content-coding.private static GZIPInputStreamFactoryINSTANCEDeprecated.Default instance ofGZIPInputStreamFactory.
-
Constructor Summary
Constructors Constructor Description GZIPInputStreamFactory()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 GZIPInputStreamFactorygetInstance()Deprecated.Gets the singleton instance.
-
-
-
Field Detail
-
ENCODING
public static final java.lang.String ENCODING
Deprecated.Canonical token for the gzip content-coding.- Since:
- 5.6
- See Also:
- Constant Field Values
-
INSTANCE
private static final GZIPInputStreamFactory INSTANCE
Deprecated.Default instance ofGZIPInputStreamFactory.
-
-
Method Detail
-
getInstance
public static GZIPInputStreamFactory 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
-
-