Package org.apache.struts.chain.commands
Class AbstractSelectForward
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractSelectForward
- All Implemented Interfaces:
Command<ActionContext>,ActionCommand
- Direct Known Subclasses:
SelectForward
Select and cache the ActionForward for this
ActionConfig if specified.
- 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) Select and cache theActionForwardfor thisActionConfigif specified.protected abstract ForwardConfigforward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfigrepresenting the specified module-relative destination.Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
AbstractSelectForward
public AbstractSelectForward()
-
-
Method Details
-
execute_
Select and cache the
ActionForwardfor thisActionConfigif specified.- Specified by:
execute_in classActionCommandBase- Parameters:
actionCtx- TheContextfor the current request- Returns:
falseso that processing continues- Throws:
Exception- if thrown by the Action class
-
forward
protected abstract ForwardConfig forward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return a
ForwardConfigrepresenting the specified module-relative destination.- Parameters:
context- The context for this requestmoduleConfig- TheModuleConfigfor this requesturi- The module-relative URI to be the destination- Returns:
- ForwwardConfig representing the destination
-