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
settingsFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) voidservice(ServiceManager manager) Methods inherited from class org.apache.cocoon.acting.AbstractConfigurableAction
configureMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
FrontCacheableResourceHeaderAction
public FrontCacheableResourceHeaderAction()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
-