Package | Description |
---|---|
org.springframework.boot.web.server |
Support for embedded web servers.
|
org.springframework.boot.web.servlet.support |
Support classes for Servlet-based web servers.
|
Modifier and Type | Method and Description |
---|---|
Set<ErrorPage> |
AbstractConfigurableWebServerFactory.getErrorPages()
Returns a mutable set of
ErrorPages that will be used when
handling exceptions. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractConfigurableWebServerFactory.addErrorPages(ErrorPage... errorPages) |
void |
ErrorPageRegistry.addErrorPages(ErrorPage... errorPages)
Adds error pages that will be used when handling exceptions.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableWebServerFactory.setErrorPages(Set<? extends ErrorPage> errorPages)
Sets the error pages that will be used when handling exceptions.
|
void |
AbstractConfigurableWebServerFactory.setErrorPages(Set<? extends ErrorPage> errorPages) |
Modifier and Type | Method and Description |
---|---|
void |
ErrorPageFilter.addErrorPages(ErrorPage... errorPages) |