FlowController.java | Class | Point of integration between Spring Web MVC and Spring Web Flow: a
Controller that routes incoming requests to one or more managed flow
executions.
Requests into the web flow system are handled by a
FlowExecutor ,
which this class delegates to using a
FlowRequestHandler helper.
Consult the JavaDoc of that class for more information on how requests are
processed.
Note: a single FlowController may execute all flows of your application.
- By default, to have this controller launch a new flow execution
(conversation), have the client send a
FlowExecutorArgumentHandler.getFlowIdArgumentName request
parameter indicating the flow definition to launch.
- To have this controller participate in an existing flow execution
(conversation), have the client send a
FlowExecutorArgumentHandler.getFlowExecutionKeyArgumentName request parameter identifying the conversation to participate in.
See the
flow-launcher sample application for examples of the
various strategies for launching and resuming flow executions.
Usage example:
<!--
Exposes flows for execution at a single request URL.
The id of a flow to launch should be passed in by clients using
the "_flowId" request parameter:
e.g. |