Package | Description |
---|---|
io.undertow.servlet | |
io.undertow.servlet.api |
Modifier and Type | Method and Description |
---|---|
static ErrorPage | Servlets.errorPage(String location) Create an ErrorPage that corresponds to the default error page |
static ErrorPage | Servlets.errorPage(String location, Class<? extends Throwable> exceptionType) Create an ErrorPage instance for a given exception type |
static ErrorPage | Servlets.errorPage(String location, int statusCode) Create an ErrorPage instance for a given response code |
Modifier and Type | Method and Description |
---|---|
List<ErrorPage> | DeploymentInfo.getErrorPages() |
Modifier and Type | Method and Description |
---|---|
DeploymentInfo | DeploymentInfo.addErrorPage(ErrorPage errorPage) |
DeploymentInfo | DeploymentInfo.addErrorPages(ErrorPage... errorPages) |
Modifier and Type | Method and Description |
---|---|
DeploymentInfo | DeploymentInfo.addErrorPages(Collection<ErrorPage> errorPages) |
Copyright © 2015 JBoss by Red Hat. All rights reserved.