Class PreventCachingResourceFilterFactory
- java.lang.Object
-
- com.atlassian.confluence.plugins.rest.jersey.cachecontrol.PreventCachingResourceFilterFactory
-
- All Implemented Interfaces:
com.sun.jersey.spi.container.ResourceFilterFactory
public class PreventCachingResourceFilterFactory extends Object implements com.sun.jersey.spi.container.ResourceFilterFactory
SetsCache-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:
- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description PreventCachingResourceFilterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.sun.jersey.spi.container.ResourceFilter>
create(com.sun.jersey.api.model.AbstractMethod abstractMethod)
-
-
-
Method Detail
-
create
public List<com.sun.jersey.spi.container.ResourceFilter> create(com.sun.jersey.api.model.AbstractMethod abstractMethod)
- Specified by:
create
in interfacecom.sun.jersey.spi.container.ResourceFilterFactory
-
-