Class SetHttpHeaderForArchive
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.AbstractConfigurableAction
org.apache.cocoon.acting.HttpHeaderAction
org.ametys.plugins.explorer.resources.actions.SetHttpHeaderForArchive
- All Implemented Interfaces:
Component
,Configurable
,LogEnabled
,Serviceable
,ThreadSafe
,Action
This action adds HTTP headers to the response for a ZIP archive
-
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 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
-
Constructor Details
-
SetHttpHeaderForArchive
public SetHttpHeaderForArchive()
-
-
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 - Specified by:
act
in interfaceAction
- Overrides:
act
in classHttpHeaderAction
- Throws:
Exception
-