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 theFrontCacheableResourceExtensionPoint
-
-
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
Constructors Constructor Description FrontCacheableResourceHeaderAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
act(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 Detail
-
FrontCacheableResourceHeaderAction
public FrontCacheableResourceHeaderAction()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
-
-