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 Object implements javax.ws.rs.ext.ReaderInterceptor
Version:
$Revision: 1 $
  • Field Details

    • DEFAULT_MAX_SIZE

      private static final int DEFAULT_MAX_SIZE
      See Also:
    • maxSize

      private int maxSize
  • Constructor Details

    • GZIPDecodingInterceptor

      public GZIPDecodingInterceptor(int maxSize)
    • GZIPDecodingInterceptor

      public GZIPDecodingInterceptor()
  • Method Details

    • aroundReadFrom

      public Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) throws IOException, javax.ws.rs.WebApplicationException
      Specified by:
      aroundReadFrom in interface javax.ws.rs.ext.ReaderInterceptor
      Throws:
      IOException
      javax.ws.rs.WebApplicationException
    • getMaxSize

      private int getMaxSize()