Interface ErrorPageRegistry
- All Known Subinterfaces:
ConfigurableJettyWebServerFactory
,ConfigurableReactiveWebServerFactory
,ConfigurableServletWebServerFactory
,ConfigurableTomcatWebServerFactory
,ConfigurableUndertowWebServerFactory
,ConfigurableWebServerFactory
- All Known Implementing Classes:
AbstractConfigurableWebServerFactory
,AbstractReactiveWebServerFactory
,AbstractServletWebServerFactory
,ErrorPageFilter
,JettyReactiveWebServerFactory
,JettyServletWebServerFactory
,NettyReactiveWebServerFactory
,TomcatReactiveWebServerFactory
,TomcatServletWebServerFactory
,UndertowReactiveWebServerFactory
,UndertowServletWebServerFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ErrorPageRegistry
Interface for a registry that holdsErrorPages
.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addErrorPages(ErrorPage... errorPages)
Adds error pages that will be used when handling exceptions.
Method Detail
addErrorPages
void addErrorPages(ErrorPage... errorPages)
Adds error pages that will be used when handling exceptions.- Parameters:
errorPages
- the error pages