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 holds ErrorPages.
Since:
2.0.0
Author:
Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addErrorPages(ErrorPage... errorPages)
    Adds error pages that will be used when handling exceptions.
  • Method Details

    • addErrorPages

      void addErrorPages(ErrorPage... errorPages)
      Adds error pages that will be used when handling exceptions.
      Parameters:
      errorPages - the error pages