public class LaxDeflateInputStream
extends org.apache.http.client.entity.DeflateInputStream
DeflateInputStream subclass that has a flag to accept
"edgy streams" that signal end of stream with EOFException
which seems to be rather frequent| Constructor and Description |
|---|
LaxDeflateInputStream(InputStream wrapped,
boolean relax) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
public LaxDeflateInputStream(InputStream wrapped, boolean relax) throws IOException
wrapped - the InputStream that should be wrappedrelax - flag to enable relaxed modeIOException - when super class throws an IOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class org.apache.http.client.entity.DeflateInputStreamIOExceptionpublic int read()
throws IOException
read in class org.apache.http.client.entity.DeflateInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class org.apache.http.client.entity.DeflateInputStreamIOExceptionCopyright © 1998-2023 Apache Software Foundation. All Rights Reserved.