public class CacheControlFilter extends Object implements ContainerResponseFilter
| Modifier and Type | Field and Description |
|---|---|
protected CacheControl |
cacheControl |
| Constructor and Description |
|---|
CacheControlFilter(CacheControl cacheControl) |
| Modifier and Type | Method and Description |
|---|---|
void |
filter(ContainerRequestContext requestContext,
ContainerResponseContext responseContext)
Filter method called after a response has been provided for a request
(either by a
request filter or by a
matched resource method. |
protected CacheControl cacheControl
public CacheControlFilter(CacheControl cacheControl)
public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext) throws IOException
ContainerResponseFilterrequest filter or by a
matched resource method.
Filters in the filter chain are ordered according to their javax.annotation.Priority
class-level annotation value.
filter in interface ContainerResponseFilterrequestContext - request context.responseContext - response context.IOException - if an I/O exception occurs.Copyright © 2015. All Rights Reserved.