public interface FlowUrlHandler
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.
|
java.lang.String getFlowExecutionKey(javax.servlet.http.HttpServletRequest request)
request
- the requestjava.lang.String getFlowId(javax.servlet.http.HttpServletRequest request)
request
- the requestjava.lang.String createFlowDefinitionUrl(java.lang.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 requestjava.lang.String createFlowExecutionUrl(java.lang.String flowId, java.lang.String flowExecutionKey, javax.servlet.http.HttpServletRequest request)
flowExecutionKey
- the flow execution key that is paused and waiting to be resumedrequest
- the current request