public class AbstractFlowHandler extends java.lang.Object implements FlowHandler
| Constructor and Description |
|---|
AbstractFlowHandler() |
| Modifier and Type | Method and Description |
|---|---|
MutableAttributeMap<java.lang.Object> |
createExecutionInputMap(javax.servlet.http.HttpServletRequest request)
Creates the flow execution input map to pass to a new instance of the flow being started.
|
java.lang.String |
getFlowId()
Returns the id of the flow handled by this handler.
|
java.lang.String |
handleException(FlowException e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles a flow exception that was not handled by the Web Flow system.
|
java.lang.String |
handleExecutionOutcome(FlowExecutionOutcome outcome,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles a specific flow execution outcome.
|
java.lang.String |
toString() |
public java.lang.String getFlowId()
FlowHandlergetFlowId in interface FlowHandlerpublic MutableAttributeMap<java.lang.Object> createExecutionInputMap(javax.servlet.http.HttpServletRequest request)
FlowHandlercreateExecutionInputMap in interface FlowHandlerrequest - the current requestpublic java.lang.String handleExecutionOutcome(FlowExecutionOutcome outcome, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
FlowHandlerThe following prefixes are supported for qualifying the returned location string:
For servlet-relative, context-relative, and server-relative URLs, a leading slash is optional.
handleExecutionOutcome in interface FlowHandleroutcome - the outcome that was reachedrequest - the current requestresponse - the current responsepublic java.lang.String handleException(FlowException e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
FlowHandlerhandleException in interface FlowHandlere - the unhandled exception originating from Spring Web Flow. May be thrown by the flow execution itself or
the flow executor system if no execution could be restored.request - the current requestresponse - the current responsepublic java.lang.String toString()
toString in class java.lang.Object