Class ErrorControllerConfiguration
java.lang.Object
com.cumulocity.microservice.security.configuration.ErrorControllerConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionerrorController
(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)
-
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)
-