类 ResultErrorAutoConfig
- java.lang.Object
-
- ai.yue.library.web.config.exception.ResultErrorAutoConfig
-
@Configuration @Import({ResultExceptionHandler.class,ResultResponseBodyHandler.class}) @AutoConfigureBefore(org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration.class) @EnableConfigurationProperties(org.springframework.boot.autoconfigure.web.ServerProperties.class) public class ResultErrorAutoConfig extends Object全局错误拦截自动配置实现对Filter异常进行统一处理
- 从以下版本开始:
- 2020年9月16日
- 作者:
- ylyue
-
-
构造器概要
构造器 构造器 说明 ResultErrorAutoConfig()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorControllerbasicErrorController(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes)优先级高于 ErrorMvcAutoConfiguration.basicErrorController(ErrorAttributes, org.springframework.beans.factory.ObjectProvider)
-
-
-
方法详细资料
-
basicErrorController
@Bean public org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController basicErrorController(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes)
优先级高于 ErrorMvcAutoConfiguration.basicErrorController(ErrorAttributes, org.springframework.beans.factory.ObjectProvider)
-
-