org.dspace.app.xmlui.aspect.general
Class NotModifiedAction
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.dspace.app.xmlui.aspect.general.NotModifiedAction
- All Implemented Interfaces:
- org.apache.cocoon.acting.Action
public class NotModifiedAction
- extends org.apache.cocoon.acting.AbstractAction
Simple action to return a 304 (Not Modified) status, for when request
had the If-modified-since header and resource has not been modified.
Used in conjunction with IfModifiedSinceSelector
- Author:
- Larry Stone
| Fields inherited from class org.apache.cocoon.acting.AbstractAction |
EMPTY_MAP |
| Fields inherited from interface org.apache.cocoon.acting.Action |
ROLE |
|
Method Summary |
Map |
act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String source,
org.apache.avalon.framework.parameters.Parameters parameters)
Return a 304 (Not Modified) status in the response. |
| Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotModifiedAction
public NotModifiedAction()
act
public Map act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String source,
org.apache.avalon.framework.parameters.Parameters parameters)
throws Exception
- Return a 304 (Not Modified) status in the response.
- Throws:
Exception
Copyright © 2011 DuraSpace. All Rights Reserved.