Class WebFlow1FlowUrlHandler

java.lang.Object
org.springframework.webflow.context.servlet.WebFlow1FlowUrlHandler
All Implemented Interfaces:
FlowUrlHandler

public class WebFlow1FlowUrlHandler extends Object implements FlowUrlHandler
Flow URL handler that implements the default Web Flow 1.x URL format. Here for backwards compatibility.
Author:
Keith Donald
  • Constructor Details

    • WebFlow1FlowUrlHandler

      public WebFlow1FlowUrlHandler()
  • Method Details

    • getFlowExecutionKey

      public String getFlowExecutionKey(jakarta.servlet.http.HttpServletRequest request)
      Description copied from interface: FlowUrlHandler
      Extract the flow execution from the request.
      Specified by:
      getFlowExecutionKey in interface FlowUrlHandler
      Parameters:
      request - the request
      Returns:
      the flow execution key, or null if no flow execution key is present
    • getFlowId

      public String getFlowId(jakarta.servlet.http.HttpServletRequest request)
      Description copied from interface: FlowUrlHandler
      Extract the flow id from the request.
      Specified by:
      getFlowId in interface FlowUrlHandler
      Parameters:
      request - the request
      Returns:
      the flow id, or null if no flow id is present
    • createFlowExecutionUrl

      public String createFlowExecutionUrl(String flowId, String flowExecutionKey, jakarta.servlet.http.HttpServletRequest request)
      Description copied from interface: FlowUrlHandler
      Create a URL that when addressed will resume an existing execution of a flow.
      Specified by:
      createFlowExecutionUrl in interface FlowUrlHandler
      flowExecutionKey - the flow execution key that is paused and waiting to be resumed
      request - the current request
      Returns:
      the flow execution url
    • createFlowDefinitionUrl

      public String createFlowDefinitionUrl(String flowId, AttributeMap<?> input, jakarta.servlet.http.HttpServletRequest request)
      Description copied from interface: FlowUrlHandler
      Create a URL that when addressed will launch a new execution of a flow.
      Specified by:
      createFlowDefinitionUrl in interface FlowUrlHandler
      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