@Provider
@Priority(value=4000)
public class GZIPDecodingInterceptor
extends java.lang.Object
implements javax.ws.rs.ext.ReaderInterceptor
| Modifier and Type | Class and Description |
|---|---|
static class |
GZIPDecodingInterceptor.FinishableGZIPInputStream |
| Modifier and Type | Field and Description |
|---|---|
private static int |
DEFAULT_MAX_SIZE |
private int |
maxSize |
| Constructor and Description |
|---|
GZIPDecodingInterceptor() |
GZIPDecodingInterceptor(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) |
private int |
getMaxSize() |
private static final int DEFAULT_MAX_SIZE
private int maxSize
public GZIPDecodingInterceptor(int maxSize)
public GZIPDecodingInterceptor()
public java.lang.Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context)
throws java.io.IOException,
javax.ws.rs.WebApplicationException
aroundReadFrom in interface javax.ws.rs.ext.ReaderInterceptorjava.io.IOExceptionjavax.ws.rs.WebApplicationExceptionprivate int getMaxSize()