org.jboss.resteasy.plugins.interceptors
Class CacheControlInterceptor

java.lang.Object
  extended by org.jboss.resteasy.plugins.interceptors.CacheControlInterceptor
All Implemented Interfaces:
AcceptedByMethod, PostProcessInterceptor

public class CacheControlInterceptor
extends java.lang.Object
implements PostProcessInterceptor, AcceptedByMethod

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  CacheControl cacheControl
           
 
Constructor Summary
CacheControlInterceptor()
           
 
Method Summary
 boolean accept(java.lang.Class declaring, java.lang.reflect.Method method)
           
protected  void initCacheControl(Cache methodCached)
           
 void postProcess(ServerResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cacheControl

protected CacheControl cacheControl
Constructor Detail

CacheControlInterceptor

public CacheControlInterceptor()
Method Detail

accept

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

initCacheControl

protected void initCacheControl(Cache methodCached)

postProcess

public void postProcess(ServerResponse response)
Specified by:
postProcess in interface PostProcessInterceptor


Copyright © 2010. All Rights Reserved.