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
ConstructorDescriptionEnableWebFluxConfiguration
(WebFluxProperties webFluxProperties, WebProperties webProperties, ServerProperties serverProperties, org.springframework.beans.factory.ObjectProvider<WebFluxRegistrations> webFluxRegistrations) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
EnableWebFluxConfiguration
public EnableWebFluxConfiguration(WebFluxProperties webFluxProperties, WebProperties webProperties, ServerProperties serverProperties, org.springframework.beans.factory.ObjectProvider<WebFluxRegistrations> webFluxRegistrations)
-
-
Method Details
-
webFluxConversionService
@Bean public org.springframework.format.support.FormattingConversionService webFluxConversionService()- Overrides:
webFluxConversionService
in classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
webFluxValidator
@Bean public org.springframework.validation.Validator webFluxValidator()- Overrides:
webFluxValidator
in classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
createRequestMappingHandlerAdapter
protected org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerAdapter createRequestMappingHandlerAdapter()- Overrides:
createRequestMappingHandlerAdapter
in classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
createRequestMappingHandlerMapping
protected org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping createRequestMappingHandlerMapping()- Overrides:
createRequestMappingHandlerMapping
in classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
localeContextResolver
@Bean @ConditionalOnMissingBean(name="localeContextResolver") public org.springframework.web.server.i18n.LocaleContextResolver localeContextResolver()- Overrides:
localeContextResolver
in classorg.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)
-