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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) boolean
isNotCacheable
(String uri) Test if a resource should not be cached
-
Constructor Details
-
ConfigurableFrontCacheableResource
public ConfigurableFrontCacheableResource()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
isNotCacheable
Description copied from interface:FrontCacheableResource
Test if a resource should not be cached- Specified by:
isNotCacheable
in interfaceFrontCacheableResource
- Parameters:
uri
- The uri- Returns:
- True if the resource should not be cached
-