Class ServerCacheHitFilter
- java.lang.Object
-
- org.jboss.resteasy.plugins.cache.server.ServerCacheHitFilter
-
- All Implemented Interfaces:
javax.ws.rs.container.ContainerRequestFilter
public class ServerCacheHitFilter extends Object implements javax.ws.rs.container.ContainerRequestFilter
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected ServerCachecachestatic StringDO_NOT_CACHE_RESPONSEprotected javax.ws.rs.core.Requestvalidation
-
Constructor Summary
Constructors Constructor Description ServerCacheHitFilter(ServerCache cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(javax.ws.rs.container.ContainerRequestContext request)
-
-
-
Field Detail
-
cache
protected ServerCache cache
-
DO_NOT_CACHE_RESPONSE
public static final String DO_NOT_CACHE_RESPONSE
- See Also:
- Constant Field Values
-
validation
@Context protected javax.ws.rs.core.Request validation
-
-
Constructor Detail
-
ServerCacheHitFilter
public ServerCacheHitFilter(ServerCache cache)
-
-
Method Detail
-
filter
public void filter(javax.ws.rs.container.ContainerRequestContext request) throws IOException- Specified by:
filterin interfacejavax.ws.rs.container.ContainerRequestFilter- Throws:
IOException
-
-