org.jboss.resteasy.plugins.interceptors.encoding
Class ServerContentEncodingHeaderInterceptor
java.lang.Object
org.jboss.resteasy.plugins.interceptors.encoding.ContentEncodingHeaderInterceptor
org.jboss.resteasy.plugins.interceptors.encoding.ServerContentEncodingHeaderInterceptor
- All Implemented Interfaces:
- AcceptedByMethod, MessageBodyWriterInterceptor
@Provider
public class ServerContentEncodingHeaderInterceptor
- extends ContentEncodingHeaderInterceptor
- implements AcceptedByMethod
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
request
@Context
protected HttpRequest request
ServerContentEncodingHeaderInterceptor
public ServerContentEncodingHeaderInterceptor()
accept
public boolean accept(Class declaring,
Method method)
- Specified by:
accept
in interface AcceptedByMethod
write
public void write(MessageBodyWriterContext context)
throws IOException,
javax.ws.rs.WebApplicationException
- Specified by:
write
in interface MessageBodyWriterInterceptor
- Overrides:
write
in class ContentEncodingHeaderInterceptor
- Throws:
IOException
javax.ws.rs.WebApplicationException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.