Class ErrorControllerConfiguration

java.lang.Object
com.cumulocity.microservice.security.configuration.ErrorControllerConfiguration

@Configuration public class ErrorControllerConfiguration extends Object
  • Constructor Details

    • ErrorControllerConfiguration

      public ErrorControllerConfiguration()
  • Method Details

    • 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)