org.jboss.resteasy.plugins.interceptors.encoding
Class ServerContentEncodingHeaderInterceptor

java.lang.Object
  extended by org.jboss.resteasy.plugins.interceptors.encoding.ContentEncodingHeaderInterceptor
      extended by 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

Field Summary
protected  HttpRequest request
           
 
Fields inherited from class org.jboss.resteasy.plugins.interceptors.encoding.ContentEncodingHeaderInterceptor
encoding
 
Constructor Summary
ServerContentEncodingHeaderInterceptor()
           
 
Method Summary
 boolean accept(Class declaring, Method method)
           
 void write(MessageBodyWriterContext context)
           
 
Methods inherited from class org.jboss.resteasy.plugins.interceptors.encoding.ContentEncodingHeaderInterceptor
hasEncodingAnnotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

@Context
protected HttpRequest request
Constructor Detail

ServerContentEncodingHeaderInterceptor

public ServerContentEncodingHeaderInterceptor()
Method Detail

accept

public boolean accept(Class declaring,
                      Method method)
Specified by:
accept in interface AcceptedByMethod

write

public void write(MessageBodyWriterContext context)
           throws IOException,
                  WebApplicationException
Specified by:
write in interface MessageBodyWriterInterceptor
Overrides:
write in class ContentEncodingHeaderInterceptor
Throws:
IOException
WebApplicationException


Copyright © 2011. All Rights Reserved.