Class LaxGZIPInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.util.zip.InflaterInputStream
java.util.zip.GZIPInputStream
org.apache.jmeter.protocol.http.sampler.hc.LaxGZIPInputStream
- All Implemented Interfaces:
 Closeable,AutoCloseable
GZIPInputStream 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:
 
- 
Field Summary
Fields inherited from class java.util.zip.GZIPInputStream
crc, eos, GZIP_MAGICFields inherited from class java.util.zip.InflaterInputStream
buf, inf, lenFields inherited from class java.io.FilterInputStream
in - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class java.util.zip.GZIPInputStream
closeMethods inherited from class java.util.zip.InflaterInputStream
available, fill, mark, markSupported, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo 
- 
Constructor Details
- 
LaxGZIPInputStream
- 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:
 readin classGZIPInputStream- Throws:
 IOException
 - 
read
- Overrides:
 readin classInflaterInputStream- Throws:
 IOException
 - 
read
- Overrides:
 readin classFilterInputStream- Throws:
 IOException
 
 -