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
ConstructorsConstructorDescriptionEnableWebFluxConfiguration(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.RequestMappingHandlerAdapterprotected org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMappingorg.springframework.web.server.i18n.LocaleContextResolverorg.springframework.format.support.FormattingConversionServiceorg.springframework.validation.Validatororg.springframework.web.server.session.WebSessionManagerwebSessionManager(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, configureBlockingExecution, configureContentTypeResolver, configureErrorResponseInterceptors, configureHttpMessageCodecs, configurePathMatching, configureViewResolvers, getMessageCodesResolver, getValidator, getWebSocketService, setConfigurersMethods inherited from class org.springframework.web.reactive.config.WebFluxConfigurationSupport
createLocaleContextResolver, createRouterFunctionMapping, getApplicationContext, getBlockingExecutionConfigurer, getConfigurableWebBindingInitializer, getCorsConfigurations, getErrorResponseInterceptors, 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:
webFluxConversionServicein classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
webFluxValidator
@Bean public org.springframework.validation.Validator webFluxValidator()- Overrides:
webFluxValidatorin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
createRequestMappingHandlerAdapter
protected org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerAdapter createRequestMappingHandlerAdapter()- Overrides:
createRequestMappingHandlerAdapterin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
createRequestMappingHandlerMapping
protected org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping createRequestMappingHandlerMapping()- Overrides:
createRequestMappingHandlerMappingin classorg.springframework.web.reactive.config.WebFluxConfigurationSupport
-
localeContextResolver
@Bean @ConditionalOnMissingBean(name="localeContextResolver") public org.springframework.web.server.i18n.LocaleContextResolver localeContextResolver()- Overrides:
localeContextResolverin 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)
-