Package org.ametys.web.filter
Class SetRSSHeaderAction
-
- All Implemented Interfaces:
Component
,Configurable
,LogEnabled
,Serviceable
,ThreadSafe
,Action
public class SetRSSHeaderAction extends HttpHeaderAction implements Serviceable
This action checks the RSS filter parameters before adding "X-Ametys-Cacheable" HTTP headers to the response
-
-
Field Summary
Fields Modifier and Type Field Description private ContentFilterExtensionPoint
_filterExtPt
private AmetysObjectResolver
_resolver
-
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 SetRSSHeaderAction()
-
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 smanager)
-
Methods inherited from class org.apache.cocoon.acting.HttpHeaderAction
configure
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_resolver
private AmetysObjectResolver _resolver
-
_filterExtPt
private ContentFilterExtensionPoint _filterExtPt
-
-
Constructor Detail
-
SetRSSHeaderAction
public SetRSSHeaderAction()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) 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
- Specified by:
act
in interfaceAction
- Overrides:
act
in classHttpHeaderAction
- Throws:
Exception
-
-