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(java.lang.Class declaring, java.lang.reflect.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(java.lang.Class declaring,
                      java.lang.reflect.Method method)
Specified by:
accept in interface AcceptedByMethod

write

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


Copyright © 2010. All Rights Reserved.