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 theGZIP
annotation.- Author:
- poirigui
- See Also:
GZIP
,GzipHeaderDecorator
,GzipHeaderDecoratorAfterGZipEncoder
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.Log
log
-
Constructor Summary
Constructors Constructor Description AbstractGzipHeaderDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context)
protected boolean
isApplicable(javax.ws.rs.ext.WriterInterceptorContext context, GZIP a)
Check if the givenGZIP
annotation 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:
aroundWriteTo
in interfacejavax.ws.rs.ext.WriterInterceptor
- Throws:
IOException
javax.ws.rs.WebApplicationException
-
-