@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value=WebProperties.class) public static class WebFluxAutoConfiguration.EnableWebFluxConfiguration extends DelegatingWebFluxConfiguration
@EnableWebFlux
.Constructor and Description |
---|
EnableWebFluxConfiguration(WebFluxProperties webFluxProperties,
WebProperties webProperties,
ObjectProvider<WebFluxRegistrations> webFluxRegistrations) |
Modifier and Type | Method and Description |
---|---|
protected RequestMappingHandlerAdapter |
createRequestMappingHandlerAdapter() |
protected RequestMappingHandlerMapping |
createRequestMappingHandlerMapping() |
LocaleContextResolver |
localeContextResolver() |
FormattingConversionService |
webFluxConversionService() |
Validator |
webFluxValidator() |
WebSessionManager |
webSessionManager(ObjectProvider<WebSessionIdResolver> webSessionIdResolver) |
addCorsMappings, addFormatters, addResourceHandlers, configureArgumentResolvers, configureContentTypeResolver, configureHttpMessageCodecs, configurePathMatching, configureViewResolvers, getMessageCodesResolver, getValidator, getWebSocketService, setConfigurers
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
public EnableWebFluxConfiguration(WebFluxProperties webFluxProperties, WebProperties webProperties, ObjectProvider<WebFluxRegistrations> webFluxRegistrations)
@Bean public FormattingConversionService webFluxConversionService()
webFluxConversionService
in class WebFluxConfigurationSupport
@Bean public Validator webFluxValidator()
webFluxValidator
in class WebFluxConfigurationSupport
protected RequestMappingHandlerAdapter createRequestMappingHandlerAdapter()
createRequestMappingHandlerAdapter
in class WebFluxConfigurationSupport
protected RequestMappingHandlerMapping createRequestMappingHandlerMapping()
createRequestMappingHandlerMapping
in class WebFluxConfigurationSupport
@Bean @ConditionalOnMissingBean(name="localeContextResolver") public LocaleContextResolver localeContextResolver()
localeContextResolver
in class WebFluxConfigurationSupport
@Bean @ConditionalOnMissingBean(name="webSessionManager") public WebSessionManager webSessionManager(ObjectProvider<WebSessionIdResolver> webSessionIdResolver)