public interface FlowUrlHandler
| Modifier and Type | Method and Description |
|---|---|
String |
createFlowDefinitionUrl(String flowId,
AttributeMap input,
javax.servlet.http.HttpServletRequest request)
Create a URL that when addressed will launch a new execution of a flow.
|
String |
createFlowExecutionUrl(String flowId,
String flowExecutionKey,
javax.servlet.http.HttpServletRequest request)
Create a URL that when addressed will resume an existing execution of a flow.
|
String |
getFlowExecutionKey(javax.servlet.http.HttpServletRequest request)
Extract the flow execution from the request.
|
String |
getFlowId(javax.servlet.http.HttpServletRequest request)
Extract the flow id from the request.
|
String getFlowExecutionKey(javax.servlet.http.HttpServletRequest request)
request - the requestString getFlowId(javax.servlet.http.HttpServletRequest request)
request - the requestString createFlowDefinitionUrl(String flowId, AttributeMap input, javax.servlet.http.HttpServletRequest request)
flowId - the id of the flow definitioninput - the input to pass the new flow executionrequest - the current requestString createFlowExecutionUrl(String flowId, String flowExecutionKey, javax.servlet.http.HttpServletRequest request)
flowExecutionKey - the flow execution key that is paused and waiting to be resumedrequest - the current request