Class LaxDeflateInputStream
-
- All Implemented Interfaces:
-
java.io.Closeable,java.lang.AutoCloseable
public class LaxDeflateInputStream extends DeflateInputStreamDeflateInputStream subclass that has a flag to accept "edgy streams" that signal end of stream with EOFException which seems to be rather frequent
- Since:
5.0
-
-
Constructor Summary
Constructors Constructor Description LaxDeflateInputStream(InputStream wrapped, boolean relax)
-
Method Summary
Modifier and Type Method Description intread(Array<byte> b, int off, int len)intread()intread(Array<byte> b)-
Methods inherited from class org.apache.http.client.entity.DeflateInputStream
available, close, mark, markSupported, reset, skip -
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LaxDeflateInputStream
LaxDeflateInputStream(InputStream wrapped, boolean relax)
- Parameters:
wrapped- the InputStream that should be wrappedrelax- flag to enable relaxed mode
-
-
-
-