Class ExternalRedirectAction
java.lang.Object
org.springframework.webflow.action.AbstractAction
org.springframework.webflow.action.ExternalRedirectAction
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,Action
An action that sends an external redirect when executed.
- Author:
- Keith Donald
-
Field Summary
Fields inherited from class org.springframework.webflow.action.AbstractAction
logger -
Constructor Summary
ConstructorsConstructorDescriptionExternalRedirectAction(org.springframework.binding.expression.Expression resourceUri) Creates a new external redirect action -
Method Summary
Modifier and TypeMethodDescriptionprotected EventdoExecute(RequestContext context) Template hook method subclasses should override to encapsulate their specific action execution logic.Methods inherited from class org.springframework.webflow.action.AbstractAction
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, initAction, no, result, result, result, result, success, success, yes
-
Constructor Details
-
ExternalRedirectAction
public ExternalRedirectAction(org.springframework.binding.expression.Expression resourceUri) Creates a new external redirect action- Parameters:
resourceUri- an expression for the resource Uri to redirect to
-
-
Method Details
-
doExecute
Description copied from class:AbstractActionTemplate hook method subclasses should override to encapsulate their specific action execution logic.- Specified by:
doExecutein classAbstractAction- Parameters:
context- the action execution context, for accessing and setting data in "flow scope" or "request scope"- Returns:
- the action result event
- Throws:
Exception- an unrecoverable exception occured, either checked or unchecked
-