Spring Web Flow

org.springframework.webflow.action
Class ExternalRedirectAction

java.lang.Object
  extended by org.springframework.webflow.action.AbstractAction
      extended by org.springframework.webflow.action.ExternalRedirectAction
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, Action

public class ExternalRedirectAction
extends AbstractAction

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
ExternalRedirectAction(Expression resourceUri)
          Creates a new external redirect action
 
Method Summary
protected  Event doExecute(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalRedirectAction

public ExternalRedirectAction(Expression resourceUri)
Creates a new external redirect action

Parameters:
resourceUri - an expression for the resource Uri to redirect to
Method Detail

doExecute

protected Event doExecute(RequestContext context)
                   throws java.lang.Exception
Description copied from class: AbstractAction
Template hook method subclasses should override to encapsulate their specific action execution logic.

Specified by:
doExecute in class AbstractAction
Parameters:
context - the action execution context, for accessing and setting data in "flow scope" or "request scope"
Returns:
the action result event
Throws:
java.lang.Exception - an unrecoverable exception occured, either checked or unchecked

Spring Web Flow