Package org.ametys.web.resources
Class FrontCacheableResourceHeaderAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.ametys.web.resources.FrontCacheableResourceHeaderAction
- All Implemented Interfaces:
Component
,Configurable
,LogEnabled
,Serviceable
,ThreadSafe
,Action
public class FrontCacheableResourceHeaderAction
extends AbstractConfigurableAction
implements ThreadSafe, Serviceable
This action adds cacheable HTTP headers to front resources. Some resources are ignored based on the
FrontCacheableResourceExtensionPoint
-
Field Summary
Fields inherited from class org.apache.cocoon.acting.AbstractConfigurableAction
settings
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) void
service
(ServiceManager manager) Methods inherited from class org.apache.cocoon.acting.AbstractConfigurableAction
configure
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
FrontCacheableResourceHeaderAction
public FrontCacheableResourceHeaderAction()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
-