类 WebMvcGlobalExceptionHandlerAutoConfigure

java.lang.Object
net.guerlab.cloud.web.webmvc.autoconfigure.WebMvcGlobalExceptionHandlerAutoConfigure

@AutoConfiguration(before=org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration.class, after=net.guerlab.cloud.web.core.autoconfigure.GlobalExceptionHandlerAutoConfigure.class) public class WebMvcGlobalExceptionHandlerAutoConfigure extends Object
异常统一处理配置自动配置.
作者:
guer
  • 构造器详细资料

    • WebMvcGlobalExceptionHandlerAutoConfigure

      public WebMvcGlobalExceptionHandlerAutoConfigure()
  • 方法详细资料

    • basicErrorController

      @Bean @ConditionalOnMissingBean(value=org.springframework.boot.web.servlet.error.ErrorController.class, search=CURRENT) public org.springframework.boot.autoconfigure.web.servlet.error.AbstractErrorController basicErrorController(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.web.servlet.error.ErrorViewResolver> errorViewResolvers)
      创建异常控制器.
      参数:
      errorAttributes - errorAttributes
      errorViewResolvers - errorViewResolvers
      返回:
      异常控制器