Package org.apache.http.client.entity
Class GZIPInputStreamFactory
- java.lang.Object
-
- org.apache.http.client.entity.GZIPInputStreamFactory
-
- All Implemented Interfaces:
InputStreamFactory
@Contract(threading=IMMUTABLE) public class GZIPInputStreamFactory extends java.lang.Object implements InputStreamFactory
InputStreamFactory
for handling GZIPContent Coded responses.- Since:
- 4.5.4
-
-
Constructor Summary
Constructors Constructor Description GZIPInputStreamFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
create(java.io.InputStream inputStream)
static GZIPInputStreamFactory
getInstance()
Gets the singleton instance.
-
-
-
Method Detail
-
getInstance
public static GZIPInputStreamFactory 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
-
-