Class DelegatingWebFluxConfiguration
java.lang.Object
org.springframework.web.reactive.config.WebFluxConfigurationSupport
org.springframework.web.reactive.config.DelegatingWebFluxConfiguration
- All Implemented Interfaces:
- Aware,- ApplicationContextAware
@Configuration(proxyBeanMethods=false)
public class DelegatingWebFluxConfiguration
extends WebFluxConfigurationSupport
A subclass of 
WebFluxConfigurationSupport that detects and delegates
 to all beans of type WebFluxConfigurer allowing them to customize the
 configuration provided by WebFluxConfigurationSupport. This is the
 class actually imported by @EnableWebFlux.- Since:
- 5.0
- Author:
- Brian Clozel
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddCorsMappings(CorsRegistry registry) Override this method to configure cross-origin requests processing.protected voidaddFormatters(FormatterRegistry registry) Override this method to add customConverterand/orFormatterdelegates to the commonFormattingConversionService.protected voidaddResourceHandlers(ResourceHandlerRegistry registry) Override this method to add resource handlers for serving static resources.protected voidconfigureArgumentResolvers(ArgumentResolverConfigurer configurer) Configure resolvers for custom controller method arguments.protected voidOverride this method to configure blocking execution.protected voidOverride to configure how the requested content type is resolved.protected voidconfigureHttpMessageCodecs(ServerCodecConfigurer configurer) Override to configure the HTTP message readers and writers to use.voidconfigurePathMatching(PathMatchConfigurer configurer) Override to configure path matching options.protected voidconfigureViewResolvers(ViewResolverRegistry registry) Configure view resolution for supporting template engines.protected MessageCodesResolverOverride this method to provide a customMessageCodesResolver.protected ValidatorOverride this method to provide a customValidator.protected WebSocketServicevoidsetConfigurers(List<WebFluxConfigurer> configurers) Methods inherited from class org.springframework.web.reactive.config.WebFluxConfigurationSupportcreateLocaleContextResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, createRouterFunctionMapping, getApplicationContext, getBlockingExecutionConfigurer, getConfigurableWebBindingInitializer, getCorsConfigurations, getPathMatchConfigurer, getViewResolverRegistry, handlerFunctionAdapter, localeContextResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, resourceUrlProvider, responseBodyResultHandler, responseEntityResultHandler, responseStatusExceptionHandler, routerFunctionMapping, serverCodecConfigurer, serverResponseResultHandler, setApplicationContext, simpleHandlerAdapter, viewResolutionResultHandler, webFluxAdapterRegistry, webFluxContentTypeResolver, webFluxConversionService, webFluxValidator, webFluxWebSocketHandlerAdapter, webHandler
- 
Constructor Details- 
DelegatingWebFluxConfigurationpublic DelegatingWebFluxConfiguration()
 
- 
- 
Method Details- 
setConfigurers
- 
configureHttpMessageCodecsDescription copied from class:WebFluxConfigurationSupportOverride to configure the HTTP message readers and writers to use.- Overrides:
- configureHttpMessageCodecsin class- WebFluxConfigurationSupport
 
- 
addFormattersDescription copied from class:WebFluxConfigurationSupportOverride this method to add customConverterand/orFormatterdelegates to the commonFormattingConversionService.- Overrides:
- addFormattersin class- WebFluxConfigurationSupport
- See Also:
 
- 
getValidatorDescription copied from class:WebFluxConfigurationSupportOverride this method to provide a customValidator.- Overrides:
- getValidatorin class- WebFluxConfigurationSupport
 
- 
getMessageCodesResolverDescription copied from class:WebFluxConfigurationSupportOverride this method to provide a customMessageCodesResolver.- Overrides:
- getMessageCodesResolverin class- WebFluxConfigurationSupport
 
- 
addCorsMappingsDescription copied from class:WebFluxConfigurationSupportOverride this method to configure cross-origin requests processing.- Overrides:
- addCorsMappingsin class- WebFluxConfigurationSupport
- See Also:
 
- 
configureBlockingExecutionDescription copied from class:WebFluxConfigurationSupportOverride this method to configure blocking execution.- Overrides:
- configureBlockingExecutionin class- WebFluxConfigurationSupport
 
- 
configureContentTypeResolverDescription copied from class:WebFluxConfigurationSupportOverride to configure how the requested content type is resolved.- Overrides:
- configureContentTypeResolverin class- WebFluxConfigurationSupport
 
- 
configurePathMatchingDescription copied from class:WebFluxConfigurationSupportOverride to configure path matching options.- Overrides:
- configurePathMatchingin class- WebFluxConfigurationSupport
 
- 
configureArgumentResolversDescription copied from class:WebFluxConfigurationSupportConfigure resolvers for custom controller method arguments.- Overrides:
- configureArgumentResolversin class- WebFluxConfigurationSupport
 
- 
addResourceHandlersDescription copied from class:WebFluxConfigurationSupportOverride this method to add resource handlers for serving static resources.- Overrides:
- addResourceHandlersin class- WebFluxConfigurationSupport
- See Also:
 
- 
configureViewResolversDescription copied from class:WebFluxConfigurationSupportConfigure view resolution for supporting template engines.- Overrides:
- configureViewResolversin class- WebFluxConfigurationSupport
- See Also:
 
- 
getWebSocketService- Overrides:
- getWebSocketServicein class- WebFluxConfigurationSupport
 
 
-