public class PageCacheControllerHtml extends ControllerHtml
Modifier and Type | Class and Description |
---|---|
protected static class |
PageCacheControllerHtml.PageUnavailableException
Exception thrown when the requested page is temporarily unavailable,
for example, due to timeout in the page generation.
|
Modifier and Type | Field and Description |
---|---|
protected String |
requestedPath
The originally requested path that caused the not found error.
|
out, request, response, sessionConfig, userConfig
Constructor and Description |
---|
PageCacheControllerHtml(HttpServletRequest request,
HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatchToDefaultErrorPage(Exception exception)
Dispatches the request to the default error page.
|
protected void |
doHandleError()
Contains the logic for processing the not found (404) error event.
|
void |
handleError() |
deleteCookie, getCookie, getRequestMode, getSessionConfig, loadUserInfo, setCookie
protected final String requestedPath
public PageCacheControllerHtml(HttpServletRequest request, HttpServletResponse response) throws ControllerException, PortalException
ControllerException
PortalException
public final void handleError() throws ControllerException, PortalException
ControllerException
PortalException
protected void doHandleError() throws PageNotFoundException, IOException, PortalException, PageCacheControllerHtml.PageUnavailableException, InterruptedException
PageNotFoundException
- if the requested page was not found.IOException
- if an IO error occurred while writing to the output.PageCacheControllerHtml.PageUnavailableException
- if the requested page is currently
unavailable.InterruptedException
- if the thread was interrupted.PortalException
protected void dispatchToDefaultErrorPage(Exception exception) throws PortalException
exception
- the exception object to be passed to the default error page.PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.