Class ErrorControllerConfiguration


  • @Configuration
    public class ErrorControllerConfiguration
    extends Object
    • Constructor Detail

      • ErrorControllerConfiguration

        public ErrorControllerConfiguration()
    • Method Detail

      • errorController

        @Bean
        @ConditionalOnMissingBean(value=org.springframework.boot.web.servlet.error.ErrorController.class,
                                  search=CURRENT)
        public ErrorController errorController​(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes,
                                               org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
                                               org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.web.servlet.error.ErrorViewResolver> errorViewResolvers)