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
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 smanager) Methods inherited from class org.apache.cocoon.acting.HttpHeaderAction
configureMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
SetHttpHeaderForArchive
public SetHttpHeaderForArchive()
-
-
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 - Specified by:
actin interfaceAction- Overrides:
actin classHttpHeaderAction- Throws:
Exception
-