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
public class SetHttpHeaderForArchive extends HttpHeaderAction implements Serviceable
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
Constructors Constructor Description SetHttpHeaderForArchive()
-
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
-
-
-
-
Constructor Detail
-
SetHttpHeaderForArchive
public SetHttpHeaderForArchive()
-
-
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
-
-