public class WebFlow1FlowUrlHandler extends java.lang.Object implements FlowUrlHandler
| Constructor and Description |
|---|
WebFlow1FlowUrlHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
createFlowDefinitionUrl(java.lang.String flowId,
AttributeMap<?> input,
javax.servlet.http.HttpServletRequest request)
Create a URL that when addressed will launch a new execution of a flow.
|
java.lang.String |
createFlowExecutionUrl(java.lang.String flowId,
java.lang.String flowExecutionKey,
javax.servlet.http.HttpServletRequest request)
Create a URL that when addressed will resume an existing execution of a flow.
|
java.lang.String |
getFlowExecutionKey(javax.servlet.http.HttpServletRequest request)
Extract the flow execution from the request.
|
java.lang.String |
getFlowId(javax.servlet.http.HttpServletRequest request)
Extract the flow id from the request.
|
public java.lang.String getFlowExecutionKey(javax.servlet.http.HttpServletRequest request)
FlowUrlHandlergetFlowExecutionKey in interface FlowUrlHandlerrequest - the requestpublic java.lang.String getFlowId(javax.servlet.http.HttpServletRequest request)
FlowUrlHandlergetFlowId in interface FlowUrlHandlerrequest - the requestpublic java.lang.String createFlowExecutionUrl(java.lang.String flowId,
java.lang.String flowExecutionKey,
javax.servlet.http.HttpServletRequest request)
FlowUrlHandlercreateFlowExecutionUrl in interface FlowUrlHandlerflowExecutionKey - the flow execution key that is paused and waiting to be resumedrequest - the current requestpublic java.lang.String createFlowDefinitionUrl(java.lang.String flowId,
AttributeMap<?> input,
javax.servlet.http.HttpServletRequest request)
FlowUrlHandlercreateFlowDefinitionUrl in interface FlowUrlHandlerflowId - the id of the flow definitioninput - the input to pass the new flow executionrequest - the current request