Package org.apache.struts.chain.commands
Class AbstractPerformForward
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractPerformForward
- All Implemented Interfaces:
org.apache.commons.chain.Command<ActionContext>,ActionCommand
- Direct Known Subclasses:
PerformForward
Perform forwarding or redirection based on the specified
ForwardConfig (if any).
- 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) Perform forwarding or redirection based on the specifiedActionForward(if any).protected abstract voidperform(ActionContext context, ForwardConfig forwardConfig) Perform the appropriate processing on the specifiedForwardConfig.Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
AbstractPerformForward
public AbstractPerformForward()
-
-
Method Details
-
execute_
Perform forwarding or redirection based on the specified
ActionForward(if any).- Specified by:
execute_in classActionCommandBase- Parameters:
actionCtx- TheContextfor the current request- Returns:
trueso that processing completes- Throws:
Exception- if thrown by theAction
-
perform
protected abstract void perform(ActionContext context, ForwardConfig forwardConfig) throws Exception Perform the appropriate processing on the specified
ForwardConfig.- Parameters:
context- The context for this requestforwardConfig- The forward to be performed- Throws:
Exception- if thrown by theAction
-