Class AbstractGzipHeaderDecorator
java.lang.Object
ubic.gemma.rest.providers.AbstractGzipHeaderDecorator
- All Implemented Interfaces:
jakarta.ws.rs.ext.WriterInterceptor
- Direct Known Subclasses:
GzipHeaderDecorator, GzipHeaderDecoratorAfterGZipEncoder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context) protected booleanisApplicable(jakarta.ws.rs.ext.WriterInterceptorContext context, GZIP a) Check if the givenGZIPannotation applies to the given context.
-
Field Details
-
log
protected final org.apache.commons.logging.Log log
-
-
Constructor Details
-
AbstractGzipHeaderDecorator
public AbstractGzipHeaderDecorator()
-
-
Method Details
-
aroundWriteTo
public void aroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context) throws IOException, jakarta.ws.rs.WebApplicationException - Specified by:
aroundWriteToin interfacejakarta.ws.rs.ext.WriterInterceptor- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-
isApplicable
-