|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.mvc.servlet.AbstractFlowHandler
public class AbstractFlowHandler
Trivial flow handler base class that simply returns null for all operations. Subclasses should extend and override which operations they need.
| Constructor Summary | |
|---|---|
AbstractFlowHandler()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFlowHandler()
| Method Detail |
|---|
public java.lang.String getFlowId()
FlowHandler
getFlowId in interface FlowHandlerpublic MutableAttributeMap<java.lang.Object> createExecutionInputMap(javax.servlet.http.HttpServletRequest request)
FlowHandler
createExecutionInputMap in interface FlowHandlerrequest - the current request
public 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 response
public java.lang.String handleException(FlowException e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
FlowHandler
handleException 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 response
public java.lang.String toString()
toString in class java.lang.Object
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||