Class WebFluxAutoConfiguration.WebFluxConfig

java.lang.Object
org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration.WebFluxConfig
All Implemented Interfaces:
org.springframework.web.reactive.config.WebFluxConfigurer
Enclosing class:
WebFluxAutoConfiguration

@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties({WebProperties.class,WebFluxProperties.class}) @Import(EnableWebFluxConfiguration.class) @Order(0) public static class WebFluxAutoConfiguration.WebFluxConfig extends Object implements org.springframework.web.reactive.config.WebFluxConfigurer
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebFluxConfig(WebProperties webProperties, WebFluxProperties webFluxProperties, org.springframework.beans.factory.ListableBeanFactory beanFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.method.HandlerMethodArgumentResolver> resolvers, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.web.codec.CodecCustomizer> codecCustomizers, org.springframework.beans.factory.ObjectProvider<ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizer, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.view.ViewResolver> viewResolvers)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addFormatters(org.springframework.format.FormatterRegistry registry)
     
    void
    addResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)
     
    void
    configureArgumentResolvers(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)
     
    void
    configureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer)
     
    void
    configureViewResolvers(org.springframework.web.reactive.config.ViewResolverRegistry registry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.reactive.config.WebFluxConfigurer

    addCorsMappings, configureContentTypeResolver, configurePathMatching, getMessageCodesResolver, getValidator, getWebSocketService
  • Constructor Details

    • WebFluxConfig

      public WebFluxConfig(WebProperties webProperties, WebFluxProperties webFluxProperties, org.springframework.beans.factory.ListableBeanFactory beanFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.method.HandlerMethodArgumentResolver> resolvers, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.web.codec.CodecCustomizer> codecCustomizers, org.springframework.beans.factory.ObjectProvider<ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizer, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.view.ViewResolver> viewResolvers)
  • Method Details

    • configureArgumentResolvers

      public void configureArgumentResolvers(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)
      Specified by:
      configureArgumentResolvers in interface org.springframework.web.reactive.config.WebFluxConfigurer
    • configureHttpMessageCodecs

      public void configureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer)
      Specified by:
      configureHttpMessageCodecs in interface org.springframework.web.reactive.config.WebFluxConfigurer
    • addResourceHandlers

      public void addResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)
      Specified by:
      addResourceHandlers in interface org.springframework.web.reactive.config.WebFluxConfigurer
    • configureViewResolvers

      public void configureViewResolvers(org.springframework.web.reactive.config.ViewResolverRegistry registry)
      Specified by:
      configureViewResolvers in interface org.springframework.web.reactive.config.WebFluxConfigurer
    • addFormatters

      public void addFormatters(org.springframework.format.FormatterRegistry registry)
      Specified by:
      addFormatters in interface org.springframework.web.reactive.config.WebFluxConfigurer