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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
completePageFlow
(jakarta.servlet.http.HttpServletRequest request, PageFlow pageFlow) protected String
findPageFlowId
(jakarta.servlet.http.HttpServletRequest request) getPageFlow
(jakarta.servlet.http.HttpServletRequest request) protected PageFlow
getPageFlow
(jakarta.servlet.http.HttpServletRequest request, String flowId) protected PageFlowDefinitionRegistry
protected PageFlowFactory
protected PageFlowStore
void
sendRedirect
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PageState pageState) protected void
setPageFlowDefinitionRegistry
(PageFlowDefinitionRegistry pageFlowDefinitionRegistry) protected void
setPageFlowFactory
(PageFlowFactory pageFlowFactory) protected void
setPageFlowStore
(PageFlowStore pageFlowStore)
-
Constructor Details
-
DefaultPageFlowControl
protected DefaultPageFlowControl()
-
-
Method Details
-
getPageFlow
public PageFlow getPageFlow(jakarta.servlet.http.HttpServletRequest request) throws PageFlowException - Specified by:
getPageFlow
in 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:
sendRedirect
in interfacePageFlowControl
- Throws:
PageFlowException
IOException
IllegalStateException
-
completePageFlow
public void completePageFlow(jakarta.servlet.http.HttpServletRequest request, PageFlow pageFlow) throws PageFlowException - Specified by:
completePageFlow
in 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
-