Class AbstractRequestNoCache

java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractRequestNoCache
All Implemented Interfaces:
org.apache.commons.chain.Command<ActionContext>, ActionCommand
Direct Known Subclasses:
RequestNoCache

public abstract class AbstractRequestNoCache extends ActionCommandBase

Check to see if the controller is configured to prevent caching, and if so, request no cache flags to be set.

Version:
$Rev$ $Date: 2005-06-04 10:58:46 -0400 (Sat, 04 Jun 2005) $
  • Constructor Details

    • AbstractRequestNoCache

      public AbstractRequestNoCache()
  • Method Details

    • execute_

      protected boolean execute_(ActionContext actionCtx) throws Exception

      Check to see if the controller is configured to prevent caching, and if so, request no cache flags to be set.

      Specified by:
      execute_ in class ActionCommandBase
      Parameters:
      actionCtx - The Context for the current request
      Returns:
      false so that processing continues
      Throws:
      Exception - if thrown by the Action class
    • requestNoCache

      protected abstract void requestNoCache(ActionContext context)

      Request no cache flags are set.

      Parameters:
      context - The Context for this request