Top Description Fields Constructors Methods
org.apache.hc.client5.http.entity

public Class DeflateInputStreamFactory

extends Object
implements InputStreamFactory
Class Inheritance
All Implemented Interfaces
org.apache.hc.client5.http.entity.InputStreamFactory
Annotations
@Contract
threading:STATELESS
Imports
java.io.IOException, .InputStream, org.apache.hc.core5.annotation.Contract, .ThreadingBehavior

InputStreamFactory for handling Deflate Content Coded responses.
Since
5.0

Field Summary

Modifier and TypeField and Description
private static final DeflateInputStreamFactory
INSTANCE

Singleton instance.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public InputStream
public static DeflateInputStreamFactory

Returns:

the singleton instance.
getInstance
()

Gets the singleton instance.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final DeflateInputStreamFactory INSTANCE

Singleton instance.

Constructor Detail

DeflateInputStreamFactoryback to summary
public DeflateInputStreamFactory()

Method Detail

createback to summary
public InputStream create(final InputStream inputStream) throws IOException

Implements org.apache.hc.client5.http.entity.InputStreamFactory.create.

Annotations
@Override
getInstanceback to summary
public static DeflateInputStreamFactory getInstance()

Gets the singleton instance.

Returns:DeflateInputStreamFactory

the singleton instance.