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:
org.apache.commons.chain.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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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 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
- TheContext
for the current request- Returns:
false
so that processing continues- Throws:
Exception
- if thrown by the Action class
-
requestNoCache
Request no cache flags are set.
- Parameters:
context
- TheContext
for this request
-