Class ErrorWebFluxAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration

@AutoConfiguration(before=WebFluxAutoConfiguration.class) @ConditionalOnWebApplication(type=REACTIVE) @ConditionalOnClass(org.springframework.web.reactive.config.WebFluxConfigurer.class) @EnableConfigurationProperties({ServerProperties.class,WebProperties.class}) public class ErrorWebFluxAutoConfiguration extends Object
Auto-configuration to render errors through a WebFlux WebExceptionHandler.
Since:
2.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.boot.web.reactive.error.DefaultErrorAttributes
     
    org.springframework.boot.web.reactive.error.ErrorWebExceptionHandler
    errorWebExceptionHandler(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes, WebProperties webProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.view.ViewResolver> viewResolvers, org.springframework.http.codec.ServerCodecConfigurer serverCodecConfigurer, org.springframework.context.ApplicationContext applicationContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ErrorWebFluxAutoConfiguration

      public ErrorWebFluxAutoConfiguration(ServerProperties serverProperties)
  • Method Details

    • 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, WebProperties webProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.view.ViewResolver> viewResolvers, org.springframework.http.codec.ServerCodecConfigurer serverCodecConfigurer, org.springframework.context.ApplicationContext applicationContext)
    • errorAttributes

      @Bean @ConditionalOnMissingBean(value=org.springframework.boot.web.reactive.error.ErrorAttributes.class, search=CURRENT) public org.springframework.boot.web.reactive.error.DefaultErrorAttributes errorAttributes()