Class WebFluxAutoConfiguration.EnableWebFluxConfiguration

java.lang.Object
org.springframework.web.reactive.config.WebFluxConfigurationSupport
org.springframework.web.reactive.config.DelegatingWebFluxConfiguration
org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration.EnableWebFluxConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
Enclosing class:
WebFluxAutoConfiguration

@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties({WebProperties.class,ServerProperties.class}) public static class WebFluxAutoConfiguration.EnableWebFluxConfiguration extends org.springframework.web.reactive.config.DelegatingWebFluxConfiguration
Configuration equivalent to @EnableWebFlux.
  • Constructor Summary

    Constructors
    Constructor
    Description
    EnableWebFluxConfiguration(WebFluxProperties webFluxProperties, WebProperties webProperties, ServerProperties serverProperties, org.springframework.beans.factory.ObjectProvider<WebFluxRegistrations> webFluxRegistrations)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerAdapter
     
    protected org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping
     
    org.springframework.web.server.i18n.LocaleContextResolver
     
    org.springframework.format.support.FormattingConversionService
     
    org.springframework.validation.Validator
     
    org.springframework.web.server.session.WebSessionManager
    webSessionManager(org.springframework.beans.factory.ObjectProvider<org.springframework.web.server.session.WebSessionIdResolver> webSessionIdResolver)
     

    Methods inherited from class org.springframework.web.reactive.config.DelegatingWebFluxConfiguration

    addCorsMappings, addFormatters, addResourceHandlers, configureArgumentResolvers, configureContentTypeResolver, configureHttpMessageCodecs, configurePathMatching, configureViewResolvers, getMessageCodesResolver, getValidator, getWebSocketService, setConfigurers

    Methods inherited from class org.springframework.web.reactive.config.WebFluxConfigurationSupport

    createLocaleContextResolver, createRouterFunctionMapping, getApplicationContext, getConfigurableWebBindingInitializer, getCorsConfigurations, getPathMatchConfigurer, getViewResolverRegistry, handlerFunctionAdapter, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, resourceUrlProvider, responseBodyResultHandler, responseEntityResultHandler, responseStatusExceptionHandler, routerFunctionMapping, serverCodecConfigurer, serverResponseResultHandler, setApplicationContext, simpleHandlerAdapter, viewResolutionResultHandler, webFluxAdapterRegistry, webFluxContentTypeResolver, webFluxWebSocketHandlerAdapter, webHandler

    Methods inherited from class java.lang.Object

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

  • Method Details

    • webFluxConversionService

      @Bean public org.springframework.format.support.FormattingConversionService webFluxConversionService()
      Overrides:
      webFluxConversionService in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • webFluxValidator

      @Bean public org.springframework.validation.Validator webFluxValidator()
      Overrides:
      webFluxValidator in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • createRequestMappingHandlerAdapter

      protected org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerAdapter createRequestMappingHandlerAdapter()
      Overrides:
      createRequestMappingHandlerAdapter in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • createRequestMappingHandlerMapping

      protected org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping createRequestMappingHandlerMapping()
      Overrides:
      createRequestMappingHandlerMapping in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • localeContextResolver

      @Bean @ConditionalOnMissingBean(name="localeContextResolver") public org.springframework.web.server.i18n.LocaleContextResolver localeContextResolver()
      Overrides:
      localeContextResolver in class org.springframework.web.reactive.config.WebFluxConfigurationSupport
    • webSessionManager

      @Bean @ConditionalOnMissingBean(name="webSessionManager") public org.springframework.web.server.session.WebSessionManager webSessionManager(org.springframework.beans.factory.ObjectProvider<org.springframework.web.server.session.WebSessionIdResolver> webSessionIdResolver)