Class ExceptionHandlerHelperImpl
java.lang.Object
ch.tocco.nice2.optional.cms.impl.publish.exception.ExceptionHandlerHelperImpl
- All Implemented Interfaces:
ExceptionHandlerHelper
-
Constructor Summary
ConstructorDescriptionExceptionHandlerHelperImpl
(LoginPageService loginPageService, NotFoundPageService notFoundPageService, RequestService requestService, OptimalPathContentProcessor<PageNode> pageContentProcessor) -
Method Summary
Modifier and TypeMethodDescriptionboolean
tryProcessLoginPage
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, ContentTreeNode fallback) boolean
tryProcessNotFoundPage
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, ContentTreeNode fallback)
-
Constructor Details
-
ExceptionHandlerHelperImpl
public ExceptionHandlerHelperImpl(LoginPageService loginPageService, NotFoundPageService notFoundPageService, RequestService requestService, OptimalPathContentProcessor<PageNode> pageContentProcessor)
-
-
Method Details
-
tryProcessLoginPage
public boolean tryProcessLoginPage(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, ContentTreeNode fallback) - Specified by:
tryProcessLoginPage
in interfaceExceptionHandlerHelper
- Returns:
- true, if the corresponding login page could be resolved and rendered, else false.
-
tryProcessNotFoundPage
public boolean tryProcessNotFoundPage(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, ContentTreeNode fallback) - Specified by:
tryProcessNotFoundPage
in interfaceExceptionHandlerHelper
- Returns:
- true, if the corresponding notfound page could be resolved and rendered, else false.
-