Package org.ametys.web.resources
Class ConfigurableFrontCacheableResource
java.lang.Object
org.ametys.web.resources.ConfigurableFrontCacheableResource
- All Implemented Interfaces:
FrontCacheableResource,Configurable
public class ConfigurableFrontCacheableResource
extends Object
implements FrontCacheableResource, Configurable
Configurable default implementation of
FrontCacheableResource-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Configuration configuration) booleanisNotCacheable(String uri) Test if a resource should not be cached
-
Constructor Details
-
ConfigurableFrontCacheableResource
public ConfigurableFrontCacheableResource()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceConfigurable- Throws:
ConfigurationException
-
isNotCacheable
Description copied from interface:FrontCacheableResourceTest if a resource should not be cached- Specified by:
isNotCacheablein interfaceFrontCacheableResource- Parameters:
uri- The uri- Returns:
- True if the resource should not be cached
-