Class ErrorControllerConfiguration
- java.lang.Object
-
- com.cumulocity.microservice.security.annotation.ErrorControllerConfiguration
-
@Configuration public class ErrorControllerConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description ErrorControllerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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)
-
-