Package | Description |
---|---|
com.sun.enterprise.web.deploy | |
org.apache.catalina | |
org.apache.catalina.core |
Modifier and Type | Class and Description |
---|---|
class |
ErrorPageDecorator
Decorator of class
org.apache.catalina.deploy.ErrorPage |
Modifier and Type | Method and Description |
---|---|
ErrorPage |
Context.findErrorPage(int errorCode)
Return the error page entry for the specified HTTP error code,
if any; otherwise return
null . |
ErrorPage |
Context.findErrorPage(String exceptionType)
Return the error page entry for the specified Java exception type,
if any; otherwise return
null . |
ErrorPage |
Context.findStatusPage(int status)
Return the context-relative URI of the error page for the specified
HTTP status code, if any; otherwise return
null . |
ErrorPage |
Context.getDefaultErrorPage()
Gets the default error page of this context.
|
Modifier and Type | Method and Description |
---|---|
void |
Context.addErrorPage(ErrorPage errorPage)
Add an error page for the specified error or Java exception.
|
Modifier and Type | Method and Description |
---|---|
ErrorPage |
StandardContext.findErrorPage(int errorCode)
Return the error page entry for the specified HTTP error code,
if any; otherwise return
null . |
ErrorPage |
StandardHost.findErrorPage(int errorCode)
Gets the error page for the specified HTTP error code.
|
ErrorPage |
StandardContext.findErrorPage(String exceptionType)
Return the error page entry for the specified Java exception type,
if any; otherwise return
null . |
ErrorPage |
StandardContext.findStatusPage(int status)
Return the context-relative URI of the error page for the specified
HTTP status code, if any; otherwise return
null . |
ErrorPage |
StandardContext.getDefaultErrorPage()
Gets the default error page of this context.
|
Modifier and Type | Method and Description |
---|---|
void |
StandardContext.addErrorPage(ErrorPage errorPage)
Add an error page for the specified error or Java exception.
|
void |
StandardHost.addErrorPage(ErrorPage errorPage)
Adds the given error page to this StandardHost.
|
Copyright © 2019. All rights reserved.