@Configuration(proxyBeanMethods=false)
@AutoConfigureBefore(value=org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration.class)
@ConditionalOnClass(value={javax.servlet.Servlet.class,org.springframework.web.servlet.DispatcherServlet.class})
@ConditionalOnWebApplication(type=SERVLET)
public class AllbsErrorAutoConfiguration
extends Object
| 构造器和说明 |
|---|
AllbsErrorAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController |
basicErrorController(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes,
org.springframework.boot.autoconfigure.web.ServerProperties serverProperties) |
org.springframework.boot.web.servlet.error.DefaultErrorAttributes |
errorAttributes() |
@Bean
@ConditionalOnMissingBean(value=org.springframework.boot.web.servlet.error.ErrorAttributes.class,
search=CURRENT)
public org.springframework.boot.web.servlet.error.DefaultErrorAttributes errorAttributes()
@Bean
@ConditionalOnMissingBean(value=org.springframework.boot.web.servlet.error.ErrorController.class,
search=CURRENT)
public org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController basicErrorController(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes,
org.springframework.boot.autoconfigure.web.ServerProperties serverProperties)
Copyright © 2021. All rights reserved.