public class PreventCachingResourceFilterFactory extends Object implements com.sun.jersey.spi.container.ResourceFilterFactory
Cache-Control
HTTP headers which prevent caching of ALL responses from REST resources in the plugin,
and forces revalidation when you come back to the page.
Usage: instantiate in the plugin's spring context, like this:
Constructor and Description |
---|
PreventCachingResourceFilterFactory() |
Modifier and Type | Method and Description |
---|---|
List<com.sun.jersey.spi.container.ResourceFilter> |
create(com.sun.jersey.api.model.AbstractMethod abstractMethod) |
public List<com.sun.jersey.spi.container.ResourceFilter> create(com.sun.jersey.api.model.AbstractMethod abstractMethod)
create
in interface com.sun.jersey.spi.container.ResourceFilterFactory
Copyright © 2003–2020 Atlassian. All rights reserved.