@Configuration(proxyBeanMethods=false) public class DelegatingWebFluxConfiguration extends WebFluxConfigurationSupport
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.| Constructor and Description |
|---|
DelegatingWebFluxConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCorsMappings(CorsRegistry registry)
Override this method to configure cross origin requests processing.
|
protected void |
addFormatters(FormatterRegistry registry)
Override this method to add custom
Converter and/or Formatter
delegates to the common FormattingConversionService. |
protected void |
addResourceHandlers(ResourceHandlerRegistry registry)
Override this method to add resource handlers for serving static resources.
|
protected void |
configureArgumentResolvers(ArgumentResolverConfigurer configurer)
Configure resolvers for custom controller method arguments.
|
protected void |
configureContentTypeResolver(RequestedContentTypeResolverBuilder builder)
Override to configure how the requested content type is resolved.
|
protected void |
configureHttpMessageCodecs(ServerCodecConfigurer configurer)
Override to configure the HTTP message readers and writers to use.
|
void |
configurePathMatching(PathMatchConfigurer configurer)
Override to configure path matching options.
|
protected void |
configureViewResolvers(ViewResolverRegistry registry)
Configure view resolution for supporting template engines.
|
protected MessageCodesResolver |
getMessageCodesResolver()
Override this method to provide a custom
MessageCodesResolver. |
protected Validator |
getValidator()
Override this method to provide a custom
Validator. |
protected WebSocketService |
getWebSocketService() |
void |
setConfigurers(List<WebFluxConfigurer> configurers) |
createLocaleContextResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, createRouterFunctionMapping, getApplicationContext, 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@Autowired(required=false) public void setConfigurers(List<WebFluxConfigurer> configurers)
protected void configureContentTypeResolver(RequestedContentTypeResolverBuilder builder)
WebFluxConfigurationSupportconfigureContentTypeResolver in class WebFluxConfigurationSupportprotected void addCorsMappings(CorsRegistry registry)
WebFluxConfigurationSupportaddCorsMappings in class WebFluxConfigurationSupportCorsRegistrypublic void configurePathMatching(PathMatchConfigurer configurer)
WebFluxConfigurationSupportconfigurePathMatching in class WebFluxConfigurationSupportprotected void addResourceHandlers(ResourceHandlerRegistry registry)
WebFluxConfigurationSupportaddResourceHandlers in class WebFluxConfigurationSupportResourceHandlerRegistryprotected void configureArgumentResolvers(ArgumentResolverConfigurer configurer)
WebFluxConfigurationSupportconfigureArgumentResolvers in class WebFluxConfigurationSupportprotected void configureHttpMessageCodecs(ServerCodecConfigurer configurer)
WebFluxConfigurationSupportconfigureHttpMessageCodecs in class WebFluxConfigurationSupportprotected void addFormatters(FormatterRegistry registry)
WebFluxConfigurationSupportConverter and/or Formatter
delegates to the common FormattingConversionService.addFormatters in class WebFluxConfigurationSupportWebFluxConfigurationSupport.webFluxConversionService()protected Validator getValidator()
WebFluxConfigurationSupportValidator.getValidator in class WebFluxConfigurationSupportprotected MessageCodesResolver getMessageCodesResolver()
WebFluxConfigurationSupportMessageCodesResolver.getMessageCodesResolver in class WebFluxConfigurationSupportprotected WebSocketService getWebSocketService()
getWebSocketService in class WebFluxConfigurationSupportprotected void configureViewResolvers(ViewResolverRegistry registry)
WebFluxConfigurationSupportconfigureViewResolvers in class WebFluxConfigurationSupportViewResolverRegistry