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:
Aware
,ApplicationContextAware
- Enclosing class:
- WebFluxAutoConfiguration
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties({WebProperties.class,ServerProperties.class})
public static class WebFluxAutoConfiguration.EnableWebFluxConfiguration
extends DelegatingWebFluxConfiguration
Configuration equivalent to
@EnableWebFlux
.-
Constructor Summary
ConstructorDescriptionEnableWebFluxConfiguration
(WebFluxProperties webFluxProperties, WebProperties webProperties, ServerProperties serverProperties, ObjectProvider<WebFluxRegistrations> webFluxRegistrations) -
Method Summary
Modifier and TypeMethodDescriptionprotected RequestMappingHandlerAdapter
protected RequestMappingHandlerMapping
webSessionManager
(ObjectProvider<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, ObjectProvider<WebFluxRegistrations> webFluxRegistrations)
-
-
Method Details
-
webFluxConversionService
- Overrides:
webFluxConversionService
in classWebFluxConfigurationSupport
-
webFluxValidator
- Overrides:
webFluxValidator
in classWebFluxConfigurationSupport
-
createRequestMappingHandlerAdapter
- Overrides:
createRequestMappingHandlerAdapter
in classWebFluxConfigurationSupport
-
createRequestMappingHandlerMapping
- Overrides:
createRequestMappingHandlerMapping
in classWebFluxConfigurationSupport
-
localeContextResolver
@Bean @ConditionalOnMissingBean(name="localeContextResolver") public LocaleContextResolver localeContextResolver()- Overrides:
localeContextResolver
in classWebFluxConfigurationSupport
-
webSessionManager
@Bean @ConditionalOnMissingBean(name="webSessionManager") public WebSessionManager webSessionManager(ObjectProvider<WebSessionIdResolver> webSessionIdResolver)
-