Class GzipHeaderDecoratorAfterGZipEncoder
java.lang.Object
ubic.gemma.rest.providers.AbstractGzipHeaderDecorator
ubic.gemma.rest.providers.GzipHeaderDecoratorAfterGZipEncoder
- All Implemented Interfaces:
jakarta.ws.rs.ext.WriterInterceptor
@Provider
@Priority(4010)
public class GzipHeaderDecoratorAfterGZipEncoder
extends AbstractGzipHeaderDecorator
implements jakarta.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 AbstractGzipHeaderDecorator
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisApplicable(jakarta.ws.rs.ext.WriterInterceptorContext context, GZIP a) Check if the givenGZIPannotation applies to the given context.Methods inherited from class AbstractGzipHeaderDecorator
aroundWriteToMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.ws.rs.ext.WriterInterceptor
aroundWriteTo
-
Constructor Details
-
GzipHeaderDecoratorAfterGZipEncoder
public GzipHeaderDecoratorAfterGZipEncoder()
-
-
Method Details
-
isApplicable
Description copied from class:AbstractGzipHeaderDecoratorCheck if the givenGZIPannotation applies to the given context.- Overrides:
isApplicablein classAbstractGzipHeaderDecorator
-