lumis.portal.page.cache
Class PageCacheControllerHtml
java.lang.Object
lumis.portal.controller.ControllerHtml
lumis.portal.page.cache.PageCacheControllerHtml
public class PageCacheControllerHtml
- extends ControllerHtml
Contains implementations for handling HTTP requests specific for
page HTML cache scenarios.
- Since:
- 4.0.0
Field Summary |
protected String |
requestedPath
The originally requested path that caused the not found error. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
requestedPath
protected final String requestedPath
- The originally requested path that caused the not found error.
Relative to the portal web application context root, starting with '/'.
- Since:
- 5.0.0
PageCacheControllerHtml
public PageCacheControllerHtml(HttpServletRequest request,
HttpServletResponse response)
throws ControllerException,
PortalException
- Throws:
ControllerException
PortalException
handleError
public final void handleError()
throws ControllerException,
PortalException
- Throws:
ControllerException
PortalException
doHandleError
protected void doHandleError()
throws PageNotFoundException,
IOException,
PortalException,
PageCacheControllerHtml.PageUnavailableException,
InterruptedException
- Contains the logic for processing the not found (404) error event.
- Throws:
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
- Since:
- 5.0.0
dispatchToDefaultErrorPage
protected void dispatchToDefaultErrorPage(Exception exception)
throws PortalException
- Dispatches the request to the default error page.
- Parameters:
exception
- the exception object to be passed to the default error page.
- Throws:
PortalException
- Since:
- 4.1.1
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.