Class CacheControlFilter
- java.lang.Object
-
- org.jboss.resteasy.plugins.interceptors.CacheControlFilter
-
- All Implemented Interfaces:
ContainerResponseFilter
@Priority(3000) public class CacheControlFilter extends Object implements ContainerResponseFilter
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected CacheControlcacheControl
-
Constructor Summary
Constructors Constructor Description CacheControlFilter(CacheControl cacheControl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(ContainerRequestContext requestContext, ContainerResponseContext responseContext)Filter method called after a response has been provided for a request (either by arequest filteror by a matched resource method.
-
-
-
Field Detail
-
cacheControl
protected CacheControl cacheControl
-
-
Constructor Detail
-
CacheControlFilter
public CacheControlFilter(CacheControl cacheControl)
-
-
Method Detail
-
filter
public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext) throws IOException
Description copied from interface:ContainerResponseFilterFilter method called after a response has been provided for a request (either by arequest filteror by a matched resource method.Filters in the filter chain are ordered according to their
jakarta.annotation.Priorityclass-level annotation value.- Specified by:
filterin interfaceContainerResponseFilter- Parameters:
requestContext- request context.responseContext- response context.- Throws:
IOException- if an I/O exception occurs.
-
-