@Configuration @AutoConfigureBefore(value=org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration.class) public class ErrorAutoConfiguration extends Object
| 构造器和说明 |
|---|
ErrorAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController |
umsErrorController(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) |
@Bean
@ConditionalOnMissingBean(value=org.springframework.boot.web.servlet.error.ErrorAttributes.class,
search=CURRENT)
public org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController umsErrorController(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)
Copyright © 2021. All rights reserved.