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 java.lang.String |
requestedPath
The originally requested path that caused the not found error. |
Constructor Summary |
PageCacheControllerHtml(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Method Summary |
protected void |
dispatchToDefaultErrorPage(java.lang.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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
requestedPath
protected final java.lang.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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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,
java.io.IOException,
PortalException,
PageCacheControllerHtml.PageUnavailableException,
java.lang.InterruptedException
- Contains the logic for processing the not found (404) error event.
- Throws:
PageNotFoundException
- if the requested page was not found.
java.io.IOException
- if an IO error occurred while writing to the output.
PageCacheControllerHtml.PageUnavailableException
- if the requested page is currently
unavailable.
java.lang.InterruptedException
- if the thread was interrupted.
PortalException
- Since:
- 5.0.0
dispatchToDefaultErrorPage
protected void dispatchToDefaultErrorPage(java.lang.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 6.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.