org.apache.struts.chain.commands
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, 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: 471754 $ $Date: 2005-06-04 10:58:46 -0400 (Sat, 04 Jun 2005)
$
Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Method Summary |
boolean |
execute(ActionContext actionCtx)
Check to see if the controller is configured to prevent caching, and
if so, request no cache flags to be set. |
protected abstract void |
requestNoCache(ActionContext context)
Request no cache flags are set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRequestNoCache
public AbstractRequestNoCache()
execute
public 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 interface ActionCommand
- 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
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.