org.jboss.resteasy.plugins.cache.server
Class ServerCacheHitInterceptor
java.lang.Object
org.jboss.resteasy.plugins.cache.server.ServerCacheHitInterceptor
- All Implemented Interfaces:
- PreProcessInterceptor
public class ServerCacheHitInterceptor
- extends Object
- implements PreProcessInterceptor
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
protected ServerCache cache
DO_NOT_CACHE_RESPONSE
public static final String DO_NOT_CACHE_RESPONSE
- See Also:
- Constant Field Values
validation
@Context
protected Request validation
ServerCacheHitInterceptor
public ServerCacheHitInterceptor(ServerCache cache)
preProcess
public ServerResponse preProcess(HttpRequest request,
ResourceMethod method)
throws Failure,
WebApplicationException
- Description copied from interface:
PreProcessInterceptor
- Preprocess resource method invocation
- Specified by:
preProcess in interface PreProcessInterceptor
- Returns:
- null unless the interceptor is returning its own response
- Throws:
Failure
WebApplicationException
Copyright © 2011. All Rights Reserved.