Package org.bardframework.flow
Class FlowHandlerImpl
- All Implemented Interfaces:
FlowHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bardframework.flow.FlowHandlerAbstract
FlowHandlerAbstract.FlowAction -
Field Summary
Fields inherited from class org.bardframework.flow.FlowHandlerAbstract
actionProcessors, flowDataRepository, forms, log, postProcessors, preProcessorsFields inherited from interface org.bardframework.flow.FlowHandler
TOKEN_HEADER_NAME -
Constructor Summary
ConstructorsConstructorDescriptionFlowHandlerImpl(FlowDataRepository<FlowData> flowDataRepository, List<FlowFormTemplate> forms) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bardframework.flow.FlowResponsehandleException(String flowToken, FlowData flowData, Map<String, Object> formData, FlowFormTemplate currentFormTemplate, FlowHandlerAbstract.FlowAction flowAction, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, Exception ex) Methods inherited from class org.bardframework.flow.FlowHandlerAbstract
action, cleanFlowData, fillFlowData, getActionProcessors, getCurrent, getCurrentFormTemplate, getPostProcessors, getPreProcessors, getStepsCounts, handleExceptionInternal, invalidateFlow, onFinished, onLocaleChange, process, processAction, processNextForm, start, submit, toResponse, updateFlowDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bardframework.flow.FlowHandler
generateFlowToken
-
Constructor Details
-
FlowHandlerImpl
public FlowHandlerImpl(FlowDataRepository<FlowData> flowDataRepository, List<FlowFormTemplate> forms)
-
-
Method Details
-
handleException
protected org.bardframework.flow.FlowResponse handleException(String flowToken, FlowData flowData, Map<String, Object> formData, FlowFormTemplate currentFormTemplate, FlowHandlerAbstract.FlowAction flowAction, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, Exception ex) throws Exception- Specified by:
handleExceptionin classFlowHandlerAbstract<FlowData>- Throws:
Exception
-