public class ErrorServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
LICENSE_TERMS_VIOLATION_MODE |
static String |
MAINTENANCE_MODE |
| Constructor and Description |
|---|
ErrorServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
forwardToErrorPage(String errorPagePath,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected int |
getErrorCode(javax.servlet.http.HttpServletRequest request) |
protected String |
getErrorPagePath(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Throwable |
getException(javax.servlet.http.HttpServletRequest request) |
void |
init() |
protected void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected String |
resolveSiteKey(javax.servlet.http.HttpServletRequest request) |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static final String LICENSE_TERMS_VIOLATION_MODE
public static final String MAINTENANCE_MODE
protected void forwardToErrorPage(String errorPagePath, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
javax.servlet.ServletExceptionIOExceptionprotected int getErrorCode(javax.servlet.http.HttpServletRequest request)
protected String getErrorPagePath(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
javax.servlet.ServletExceptionIOExceptionprotected String resolveSiteKey(javax.servlet.http.HttpServletRequest request)
protected Throwable getException(javax.servlet.http.HttpServletRequest request)
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletExceptionIOExceptionprotected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.