Class GZIPDecodingInterceptor
- java.lang.Object
-
- org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor
-
- All Implemented Interfaces:
javax.ws.rs.ext.ReaderInterceptor
@Provider @Priority(4000) public class GZIPDecodingInterceptor extends java.lang.Object implements javax.ws.rs.ext.ReaderInterceptor- Version:
- $Revision: 1 $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGZIPDecodingInterceptor.FinishableGZIPInputStream
-
Field Summary
Fields Modifier and Type Field Description private static intDEFAULT_MAX_SIZEprivate intmaxSize
-
Constructor Summary
Constructors Constructor Description GZIPDecodingInterceptor()GZIPDecodingInterceptor(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectaroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context)private intgetMaxSize()
-
-
-
Field Detail
-
DEFAULT_MAX_SIZE
private static final int DEFAULT_MAX_SIZE
- See Also:
- Constant Field Values
-
maxSize
private int maxSize
-
-
Method Detail
-
aroundReadFrom
public java.lang.Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) throws java.io.IOException, javax.ws.rs.WebApplicationException- Specified by:
aroundReadFromin interfacejavax.ws.rs.ext.ReaderInterceptor- Throws:
java.io.IOExceptionjavax.ws.rs.WebApplicationException
-
getMaxSize
private int getMaxSize()
-
-