Package ubic.gemma.rest.providers
Class AbstractGzipHeaderDecorator
- java.lang.Object
-
- ubic.gemma.rest.providers.AbstractGzipHeaderDecorator
-
- All Implemented Interfaces:
javax.ws.rs.ext.WriterInterceptor
- Direct Known Subclasses:
GzipHeaderDecorator,GzipHeaderDecoratorAfterGZipEncoder
public abstract class AbstractGzipHeaderDecorator extends Object implements javax.ws.rs.ext.WriterInterceptor
Base class for decorators that handle theGZIPannotation.- Author:
- poirigui
- See Also:
GZIP,GzipHeaderDecorator,GzipHeaderDecoratorAfterGZipEncoder
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.Loglog
-
Constructor Summary
Constructors Constructor Description AbstractGzipHeaderDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context)protected booleanisApplicable(javax.ws.rs.ext.WriterInterceptorContext context, GZIP a)Check if the givenGZIPannotation applies to the given context.
-
-
-
Method Detail
-
aroundWriteTo
public void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context) throws IOException, javax.ws.rs.WebApplicationException- Specified by:
aroundWriteToin interfacejavax.ws.rs.ext.WriterInterceptor- Throws:
IOExceptionjavax.ws.rs.WebApplicationException
-
-