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 class
GZIPDecodingInterceptor.FinishableGZIPInputStream
-
Field Summary
Fields Modifier and Type Field Description private static int
DEFAULT_MAX_SIZE
private int
maxSize
-
Constructor Summary
Constructors Constructor Description GZIPDecodingInterceptor()
GZIPDecodingInterceptor(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context)
private int
getMaxSize()
-
-
-
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:
aroundReadFrom
in interfacejavax.ws.rs.ext.ReaderInterceptor
- Throws:
java.io.IOException
javax.ws.rs.WebApplicationException
-
getMaxSize
private int getMaxSize()
-
-