Class GZIPInputStreamFactory
java.lang.Object
org.apache.hc.client5.http.entity.GZIPInputStreamFactory
- All Implemented Interfaces:
InputStreamFactory
@Deprecated
@Contract(threading=STATELESS)
public class GZIPInputStreamFactory
extends Object
implements InputStreamFactory
Deprecated.
InputStreamFactory for handling GZIPContent Coded responses.- Since:
- 5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.Canonical token for the gzip content-coding.private static final GZIPInputStreamFactoryDeprecated.Default instance ofGZIPInputStreamFactory. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(InputStream inputStream) Deprecated.static GZIPInputStreamFactoryDeprecated.Gets the singleton instance.
-
Field Details
-
ENCODING
Deprecated.Canonical token for the gzip content-coding.- Since:
- 5.6
- See Also:
-
INSTANCE
Deprecated.Default instance ofGZIPInputStreamFactory.
-
-
Constructor Details
-
GZIPInputStreamFactory
public GZIPInputStreamFactory()Deprecated.
-
-
Method Details
-
getInstance
Deprecated.Gets the singleton instance.- Returns:
- the singleton instance.
-
create
Deprecated.- Specified by:
createin interfaceInputStreamFactory- Throws:
IOException
-
DecompressingEntity. For built-in gzip support useContentCodecRegistryor wrap a stream directly with