Package org.openremote.container.web
Class GZIPEncodingInterceptor
java.lang.Object
org.openremote.container.web.GZIPEncodingInterceptor
- All Implemented Interfaces:
javax.ws.rs.ext.WriterInterceptor
@Provider
@Priority(4000)
public class GZIPEncodingInterceptor
extends Object
implements javax.ws.rs.ext.WriterInterceptor
See Resteasy source.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context)
-
Field Details
-
enabled
protected final boolean enabled
-
-
Constructor Details
-
GZIPEncodingInterceptor
public GZIPEncodingInterceptor(boolean enabled)
-
-
Method Details
-
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
-