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:
org.apache.commons.chain.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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
execute_
(ActionContext actionCtx) Select and cache theActionForward
for thisActionConfig
if specified.protected abstract ForwardConfig
forward
(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfig
representing 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
ActionForward
for thisActionConfig
if specified.- 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
-
forward
protected abstract ForwardConfig forward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return a
ForwardConfig
representing the specified module-relative destination.- Parameters:
context
- The context for this requestmoduleConfig
- TheModuleConfig
for this requesturi
- The module-relative URI to be the destination- Returns:
- ForwwardConfig representing the destination
-