@Provider public class ServerContentEncodingHeaderInterceptor extends ContentEncodingHeaderInterceptor implements AcceptedByMethod
| Modifier and Type | Field and Description |
|---|---|
protected HttpRequest |
request |
encoding| Constructor and Description |
|---|
ServerContentEncodingHeaderInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Class declaring,
Method method) |
void |
write(MessageBodyWriterContext context) |
hasEncodingAnnotation@Context protected HttpRequest request
public ServerContentEncodingHeaderInterceptor()
public boolean accept(Class declaring, Method method)
accept in interface AcceptedByMethodpublic void write(MessageBodyWriterContext context) throws IOException, WebApplicationException
write in interface MessageBodyWriterInterceptorwrite in class ContentEncodingHeaderInterceptorIOExceptionWebApplicationExceptionCopyright © 2014. All Rights Reserved.