Package org.bardframework.flow
Class FlowHandlerImpl
- All Implemented Interfaces:
FlowHandler
-
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, String> formData, FlowFormTemplate currentFormTemplate, Exception ex) Methods inherited from class org.bardframework.flow.FlowHandlerAbstract
action, cleanFlowData, fillFlowData, getActionProcessors, getCurrent, getCurrentFormTemplate, getPostProcessors, getPreProcessors, getStepsCounts, handleSubmitException, invalidateFlow, onFinished, process, processAction, processNextForm, setActionProcessors, setPostProcessors, setPreProcessors, 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, String> formData, FlowFormTemplate currentFormTemplate, Exception ex) throws Exception- Specified by:
handleExceptionin classFlowHandlerAbstract<FlowData>- Throws:
Exception
-