|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlowExecutorArgumentExposer
Helper strategy that can expose FlowExecutor
method arguments in a response (view) so that subsequent
requests resulting from the response can have those arguments extracted again, typically using a
FlowExecutorArgumentExtractor
.
Arguments can either be exposed in the model of a view that will be rendered or in a URL that will be used to trigger a new request into Spring Web Flow, for instance using a redirect.
Method Summary | |
---|---|
java.lang.String |
createExternalUrl(ExternalRedirect redirect,
java.lang.String flowExecutionKey,
ExternalContext context)
Create a URL path that when redirected to communicates with an external system outside of Spring Web Flow. |
java.lang.String |
createFlowDefinitionUrl(FlowDefinitionRedirect flowDefinitionRedirect,
ExternalContext context)
Create a URL that when redirected to launches a entirely new execution of a flow definition (starts a new conversation). |
java.lang.String |
createFlowExecutionUrl(java.lang.String flowExecutionKey,
FlowExecutionContext flowExecution,
ExternalContext context)
Create a URL path that when redirected to renders the current (or last) view selection made by the flow execution identified by the flow execution key. |
void |
exposeFlowExecutionContext(java.lang.String flowExecutionKey,
FlowExecutionContext context,
java.util.Map model)
Expose the flow execution context and it's key in given model map. |
Method Detail |
---|
void exposeFlowExecutionContext(java.lang.String flowExecutionKey, FlowExecutionContext context, java.util.Map model)
flowExecutionKey
- the flow execution key (may be null if the conversation has ended)context
- the flow execution contextmodel
- the model mapjava.lang.String createFlowDefinitionUrl(FlowDefinitionRedirect flowDefinitionRedirect, ExternalContext context)
flowDefinitionRedirect
- the flow definition redirect view selectioncontext
- the external context
java.lang.String createFlowExecutionUrl(java.lang.String flowExecutionKey, FlowExecutionContext flowExecution, ExternalContext context)
flowExecutionKey
- the flow execution keyflowExecution
- the flow executioncontext
- the external context
FlowExecutionRedirect
java.lang.String createExternalUrl(ExternalRedirect redirect, java.lang.String flowExecutionKey, ExternalContext context)
redirect
- the external redirect requestflowExecutionKey
- the flow execution key to send through the redirect (optional)context
- the external context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |