org.dspace.app.xmlui.aspect.general
Class NotModifiedAction

java.lang.Object
  extended by org.apache.cocoon.util.AbstractLogEnabled
      extended by org.apache.cocoon.acting.AbstractAction
          extended by 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

Field Summary
 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
 
Fields inherited from interface org.apache.cocoon.acting.Action
ROLE
 
Constructor Summary
NotModifiedAction()
           
 
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
 

Constructor Detail

NotModifiedAction

public NotModifiedAction()
Method Detail

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.