DecompressingEntity.
For built-in gzip support use
ContentCodecRegistry or
wrap a stream directly with@Deprecated @Contract(threading=STATELESS) public class GZIPInputStreamFactory extends Object implements InputStreamFactory
InputStreamFactory for handling GZIPContent Coded responses.| Modifier and Type | Field and Description |
|---|---|
static String |
ENCODING
Deprecated.
Canonical token for the gzip content-coding.
|
| Constructor and Description |
|---|
GZIPInputStreamFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
create(InputStream inputStream)
Deprecated.
|
static GZIPInputStreamFactory |
getInstance()
Deprecated.
Gets the singleton instance.
|
public static final String ENCODING
public static GZIPInputStreamFactory getInstance()
public InputStream create(InputStream inputStream) throws IOException
create in interface InputStreamFactoryIOExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.