类 CustomErrorWebFluxAutoConfiguration
java.lang.Object
net.guerlab.smart.platform.basic.gateway.exception.CustomErrorWebFluxAutoConfiguration
@Configuration
@ConditionalOnWebApplication(type=REACTIVE)
@ConditionalOnClass(org.springframework.web.reactive.config.WebFluxConfigurer.class)
@AutoConfigureBefore(org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration.class)
public class CustomErrorWebFluxAutoConfiguration
extends java.lang.Object
自定义错误处理自动配置
- 作者:
- guer
-
构造器概要
构造器 构造器 说明 CustomErrorWebFluxAutoConfiguration(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, org.springframework.boot.autoconfigure.web.WebProperties.Resources resourceProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.view.ViewResolver> viewResolversProvider, org.springframework.http.codec.ServerCodecConfigurer serverCodecConfigurer, org.springframework.context.ApplicationContext applicationContext) -
方法概要
修饰符和类型 方法 说明 org.springframework.boot.web.reactive.error.ErrorWebExceptionHandlererrorWebExceptionHandler(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes)
-
构造器详细资料
-
CustomErrorWebFluxAutoConfiguration
public CustomErrorWebFluxAutoConfiguration(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, org.springframework.boot.autoconfigure.web.WebProperties.Resources resourceProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.view.ViewResolver> viewResolversProvider, org.springframework.http.codec.ServerCodecConfigurer serverCodecConfigurer, org.springframework.context.ApplicationContext applicationContext)
-
-
方法详细资料
-
errorWebExceptionHandler
@Bean @ConditionalOnMissingBean(value=org.springframework.boot.web.reactive.error.ErrorWebExceptionHandler.class, search=CURRENT) @Order(-1) public org.springframework.boot.web.reactive.error.ErrorWebExceptionHandler errorWebExceptionHandler(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes)
-