Class GZIPDecodingInterceptor
- java.lang.Object
-
- org.jboss.resteasy.plugins.interceptors.GZIPDecodingInterceptor
-
- All Implemented Interfaces:
ReaderInterceptor
@Provider @Priority(4000) public class GZIPDecodingInterceptor extends Object implements ReaderInterceptor
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGZIPDecodingInterceptor.FinishableGZIPInputStream
-
Constructor Summary
Constructors Constructor Description GZIPDecodingInterceptor()GZIPDecodingInterceptor(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectaroundReadFrom(ReaderInterceptorContext context)
-
-
-
Method Detail
-
aroundReadFrom
public Object aroundReadFrom(ReaderInterceptorContext context) throws IOException, WebApplicationException
Description copied from interface:ReaderInterceptorInterceptor method wrapping calls toMessageBodyReader.readFrom(java.lang.Class<T>, java.lang.reflect.Type, java.lang.annotation.Annotation[], jakarta.ws.rs.core.MediaType, jakarta.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>, java.io.InputStream)method. The parameters of the wrapped method called are available fromcontext. Implementations of this method SHOULD explicitly callReaderInterceptorContext.proceed()to invoke the next interceptor in the chain, and ultimately the wrappedMessageBodyReader.readFrom(java.lang.Class<T>, java.lang.reflect.Type, java.lang.annotation.Annotation[], jakarta.ws.rs.core.MediaType, jakarta.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>, java.io.InputStream)method.- Specified by:
aroundReadFromin interfaceReaderInterceptor- Parameters:
context- invocation context.- Returns:
- result of next interceptor invoked or the wrapped method if last interceptor in chain.
- Throws:
IOException- if an IO error arises or is thrown by the wrappedMessageBodyReader.readFrommethod.WebApplicationException- thrown by the wrappedMessageBodyReader.readFrommethod.
-
-