Package org.apache.http.client.entity
Class DeflateInputStreamFactory
- java.lang.Object
-
- org.apache.http.client.entity.DeflateInputStreamFactory
-
- All Implemented Interfaces:
InputStreamFactory
@Contract(threading=IMMUTABLE) public class DeflateInputStreamFactory extends java.lang.Object implements InputStreamFactory
InputStreamFactory
for handling Deflate Content Coded responses.- Since:
- 4.5.4
-
-
Constructor Summary
Constructors Constructor Description DeflateInputStreamFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
create(java.io.InputStream inputStream)
static DeflateInputStreamFactory
getInstance()
Gets the singleton instance.
-
-
-
Method Detail
-
getInstance
public static DeflateInputStreamFactory getInstance()
Gets the singleton instance.- Returns:
- the singleton instance.
-
create
public java.io.InputStream create(java.io.InputStream inputStream) throws java.io.IOException
- Specified by:
create
in interfaceInputStreamFactory
- Throws:
java.io.IOException
-
-