Package 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:
Command<ActionContext>,ActionCommand
- Direct Known Subclasses:
RequestNoCache
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) $
-
Field Summary
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanexecute_(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 voidrequestNoCache(ActionContext context) Request no cache flags are set.Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
AbstractRequestNoCache
public AbstractRequestNoCache()
-
-
Method Details
-
execute_
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 classActionCommandBase- Parameters:
actionCtx- TheContextfor the current request- Returns:
falseso that processing continues- Throws:
Exception- if thrown by the Action class
-
requestNoCache
Request no cache flags are set.
- Parameters:
context- TheContextfor this request
-