Package ubic.gemma.rest.providers
Class GzipHeaderDecoratorAfterGZipEncoder
java.lang.Object
ubic.gemma.rest.providers.AbstractGzipHeaderDecorator
ubic.gemma.rest.providers.GzipHeaderDecoratorAfterGZipEncoder
- All Implemented Interfaces:
javax.ws.rs.ext.WriterInterceptor
@Provider
@Priority(4010)
public class GzipHeaderDecoratorAfterGZipEncoder
extends AbstractGzipHeaderDecorator
implements javax.ws.rs.ext.WriterInterceptor
Adds a
Content-Encoding: gzip
after the context has been intercepted by GZipEncoder
.- Author:
- poirigui
-
Field Summary
Fields inherited from class ubic.gemma.rest.providers.AbstractGzipHeaderDecorator
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isApplicable
(javax.ws.rs.ext.WriterInterceptorContext context, GZIP a) Check if the givenGZIP
annotation applies to the given context.Methods inherited from class ubic.gemma.rest.providers.AbstractGzipHeaderDecorator
aroundWriteTo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.ws.rs.ext.WriterInterceptor
aroundWriteTo
-
Constructor Details
-
GzipHeaderDecoratorAfterGZipEncoder
public GzipHeaderDecoratorAfterGZipEncoder()
-
-
Method Details
-
isApplicable
Description copied from class:AbstractGzipHeaderDecorator
Check if the givenGZIP
annotation applies to the given context.- Overrides:
isApplicable
in classAbstractGzipHeaderDecorator
-