|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.webflow.context.servlet.WebFlow1FlowUrlHandler
public class WebFlow1FlowUrlHandler
Flow URL handler that implements the default Web Flow 1.x URL format. Here for backwards compatibility.
Constructor Summary | |
---|---|
WebFlow1FlowUrlHandler()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebFlow1FlowUrlHandler()
Method Detail |
---|
public java.lang.String getFlowExecutionKey(javax.servlet.http.HttpServletRequest request)
FlowUrlHandler
getFlowExecutionKey
in interface FlowUrlHandler
request
- the request
public java.lang.String getFlowId(javax.servlet.http.HttpServletRequest request)
FlowUrlHandler
getFlowId
in interface FlowUrlHandler
request
- the request
public java.lang.String createFlowExecutionUrl(java.lang.String flowId, java.lang.String flowExecutionKey, javax.servlet.http.HttpServletRequest request)
FlowUrlHandler
createFlowExecutionUrl
in interface FlowUrlHandler
flowExecutionKey
- the flow execution key that is paused and waiting to be resumedrequest
- the current request
public java.lang.String createFlowDefinitionUrl(java.lang.String flowId, AttributeMap<?> input, javax.servlet.http.HttpServletRequest request)
FlowUrlHandler
createFlowDefinitionUrl
in interface FlowUrlHandler
flowId
- the id of the flow definitioninput
- the input to pass the new flow executionrequest
- the current request
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |