Interface FlowUrlHandler
- All Known Implementing Classes:
- DefaultFlowUrlHandler,- FilenameFlowUrlHandler,- WebFlow1FlowUrlHandler
public interface FlowUrlHandler
A interface for parsing and generating flow URLs. Encapsulates a specific flow URL format.
- Author:
- Keith Donald
- 
Method SummaryModifier and TypeMethodDescriptioncreateFlowDefinitionUrl(String flowId, AttributeMap<?> input, jakarta.servlet.http.HttpServletRequest request) Create a URL that when addressed will launch a new execution of a flow.createFlowExecutionUrl(String flowId, String flowExecutionKey, jakarta.servlet.http.HttpServletRequest request) Create a URL that when addressed will resume an existing execution of a flow.getFlowExecutionKey(jakarta.servlet.http.HttpServletRequest request) Extract the flow execution from the request.getFlowId(jakarta.servlet.http.HttpServletRequest request) Extract the flow id from the request.
- 
Method Details- 
getFlowExecutionKeyExtract the flow execution from the request.- Parameters:
- request- the request
- Returns:
- the flow execution key, or null if no flow execution key is present
 
- 
getFlowIdExtract the flow id from the request.- Parameters:
- request- the request
- Returns:
- the flow id, or null if no flow id is present
 
- 
createFlowDefinitionUrlString createFlowDefinitionUrl(String flowId, AttributeMap<?> input, jakarta.servlet.http.HttpServletRequest request) Create a URL that when addressed will launch a new execution of a flow.- Parameters:
- flowId- the id of the flow definition
- input- the input to pass the new flow execution
- request- the current request
- Returns:
- the flow definition url
 
- 
createFlowExecutionUrlString createFlowExecutionUrl(String flowId, String flowExecutionKey, jakarta.servlet.http.HttpServletRequest request) Create a URL that when addressed will resume an existing execution of a flow.- Parameters:
- flowExecutionKey- the flow execution key that is paused and waiting to be resumed
- request- the current request
- Returns:
- the flow execution url
 
 
-