Class AbstractGzipHeaderDecorator

    • Field Detail

      • log

        protected final org.apache.commons.logging.Log log
    • Constructor Detail

      • AbstractGzipHeaderDecorator

        public AbstractGzipHeaderDecorator()
    • Method Detail

      • aroundWriteTo

        public void aroundWriteTo​(javax.ws.rs.ext.WriterInterceptorContext context)
                           throws IOException,
                                  javax.ws.rs.WebApplicationException
        Specified by:
        aroundWriteTo in interface javax.ws.rs.ext.WriterInterceptor
        Throws:
        IOException
        javax.ws.rs.WebApplicationException
      • isApplicable

        protected boolean isApplicable​(javax.ws.rs.ext.WriterInterceptorContext context,
                                       GZIP a)
        Check if the given GZIP annotation applies to the given context.