Class DefaultPageFlowControl
java.lang.Object
org.onehippo.forge.pageflow.core.rt.DefaultPageFlowControl
- All Implemented Interfaces:
PageFlowControl
- Direct Known Subclasses:
DefaultHstPageFlowControl
Default generic
PageFlowControl implementation in a web application.-
Field Summary
Fields inherited from interface org.onehippo.forge.pageflow.core.rt.PageFlowControl
PAGE_FLOW_CONTROL_ATTR_NAME, PAGE_FLOW_ID_ATTR_NAME, PAGE_FLOW_ID_PROP_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompletePageFlow(jakarta.servlet.http.HttpServletRequest request, PageFlow pageFlow) protected StringfindPageFlowId(jakarta.servlet.http.HttpServletRequest request) getPageFlow(jakarta.servlet.http.HttpServletRequest request) protected PageFlowgetPageFlow(jakarta.servlet.http.HttpServletRequest request, String flowId) protected PageFlowDefinitionRegistryprotected PageFlowFactoryprotected PageFlowStorevoidsendRedirect(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PageState pageState) protected voidsetPageFlowDefinitionRegistry(PageFlowDefinitionRegistry pageFlowDefinitionRegistry) protected voidsetPageFlowFactory(PageFlowFactory pageFlowFactory) protected voidsetPageFlowStore(PageFlowStore pageFlowStore)
-
Constructor Details
-
DefaultPageFlowControl
protected DefaultPageFlowControl()
-
-
Method Details
-
getPageFlow
public PageFlow getPageFlow(jakarta.servlet.http.HttpServletRequest request) throws PageFlowException - Specified by:
getPageFlowin interfacePageFlowControl- Throws:
PageFlowException
-
sendRedirect
public void sendRedirect(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PageState pageState) throws PageFlowException, IOException, IllegalStateException - Specified by:
sendRedirectin interfacePageFlowControl- Throws:
PageFlowExceptionIOExceptionIllegalStateException
-
completePageFlow
public void completePageFlow(jakarta.servlet.http.HttpServletRequest request, PageFlow pageFlow) throws PageFlowException - Specified by:
completePageFlowin interfacePageFlowControl- Throws:
PageFlowException
-
findPageFlowId
-
getPageFlow
protected PageFlow getPageFlow(jakarta.servlet.http.HttpServletRequest request, String flowId) throws PageFlowException - Throws:
PageFlowException
-
getPageFlowDefinitionRegistry
-
setPageFlowDefinitionRegistry
-
getPageFlowFactory
-
setPageFlowFactory
-
getPageFlowStore
-
setPageFlowStore
-