Class LaxDeflateInputStream
java.lang.Object
java.io.InputStream
org.apache.http.client.entity.DeflateInputStream
org.apache.jmeter.protocol.http.sampler.hc.LaxDeflateInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
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- Since:
- 5.0
- See Also:
-
Constructor Summary
-
Method Summary
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
-
Constructor Details
-
LaxDeflateInputStream
- Parameters:
wrapped
- the InputStream that should be wrappedrelax
- flag to enable relaxed mode- Throws:
IOException
- when super class throws an IOException
-
-
Method Details
-
read
- Overrides:
read
in classorg.apache.http.client.entity.DeflateInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classorg.apache.http.client.entity.DeflateInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classorg.apache.http.client.entity.DeflateInputStream
- Throws:
IOException
-