Class GZIPInputStreamFactory
java.lang.Object
org.apache.hc.client5.http.entity.GZIPInputStreamFactory
- All Implemented Interfaces:
InputStreamFactory
@Contract(threading=STATELESS)
public class GZIPInputStreamFactory
extends Object
implements InputStreamFactory
InputStreamFactory
for handling GZIPContent Coded responses.- Since:
- 5.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(InputStream inputStream) static GZIPInputStreamFactory
Gets the singleton instance.
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
GZIPInputStreamFactory
public GZIPInputStreamFactory()
-
-
Method Details
-
getInstance
Gets the singleton instance.- Returns:
- the singleton instance.
-
create
- Specified by:
create
in interfaceInputStreamFactory
- Throws:
IOException
-