public abstract class AbstractPerformForward extends ActionCommandBase
Perform forwarding or redirection based on the specified
ForwardConfig
(if any).
Constructor and Description |
---|
AbstractPerformForward() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(ActionContext actionCtx)
Perform forwarding or redirection based on the specified
ActionForward (if any). |
protected abstract void |
perform(ActionContext context,
ForwardConfig forwardConfig)
Perform the appropriate processing on the specified
ForwardConfig . |
execute
public boolean execute(ActionContext actionCtx) throws Exception
Perform forwarding or redirection based on the specified
ActionForward
(if any).
execute
in interface ActionCommand
execute
in class ActionCommandBase
actionCtx
- The Context
for the current requesttrue
so that processing completesException
- if thrown by the Action
protected abstract void perform(ActionContext context, ForwardConfig forwardConfig) throws Exception
Perform the appropriate processing on the specified
ForwardConfig
.
context
- The context for this requestforwardConfig
- The forward to be performedException
- if thrown by the Action
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.