Class GZIPDecodingInterceptor.FinishableGZIPInputStream
- java.lang.Object
 - 
- java.io.InputStream
 - 
- java.io.FilterInputStream
 - 
- java.util.zip.InflaterInputStream
 - 
- java.util.zip.GZIPInputStream
 - 
- org.jboss.resteasy.plugins.interceptors.GZIPDecodingInterceptor.FinishableGZIPInputStream
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Closeable,AutoCloseable
- Enclosing class:
 - GZIPDecodingInterceptor
 
public static class GZIPDecodingInterceptor.FinishableGZIPInputStream extends GZIPInputStream
 
- 
- 
Field Summary
- 
Fields inherited from class java.util.zip.GZIPInputStream
crc, eos, GZIP_MAGIC 
- 
Fields inherited from class java.util.zip.InflaterInputStream
buf, inf, len 
- 
Fields inherited from class java.io.FilterInputStream
in 
 - 
 
- 
Constructor Summary
Constructors Constructor Description FinishableGZIPInputStream(InputStream is)FinishableGZIPInputStream(InputStream is, boolean server)FinishableGZIPInputStream(InputStream is, boolean server, int maxSize) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinish()intread(byte[] buf, int off, int len)- 
Methods inherited from class java.util.zip.GZIPInputStream
close 
- 
Methods inherited from class java.util.zip.InflaterInputStream
available, fill, mark, markSupported, read, reset, skip 
- 
Methods inherited from class java.io.FilterInputStream
read 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
FinishableGZIPInputStream
public FinishableGZIPInputStream(InputStream is) throws IOException
- Throws:
 IOException
 
- 
FinishableGZIPInputStream
public FinishableGZIPInputStream(InputStream is, boolean server) throws IOException
- Throws:
 IOException
 
- 
FinishableGZIPInputStream
public FinishableGZIPInputStream(InputStream is, boolean server, int maxSize) throws IOException
- Throws:
 IOException
 
 - 
 
- 
Method Detail
- 
read
public int read(byte[] buf, int off, int len) throws IOException- Overrides:
 readin classGZIPInputStream- Throws:
 IOException
 
- 
finish
public void finish()
 
 - 
 
 -