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.
Interface for a registry that holds
ErrorPages
.- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addErrorPages
(ErrorPage... errorPages) Adds error pages that will be used when handling exceptions.
-
Method Details
-
addErrorPages
Adds error pages that will be used when handling exceptions.- Parameters:
errorPages
- the error pages
-