@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value={ResourceProperties.class,WebProperties.class,WebFluxProperties.class}) @Import(value=WebFluxAutoConfiguration.EnableWebFluxConfiguration.class) public static class WebFluxAutoConfiguration.WebFluxConfig extends Object implements WebFluxConfigurer
Constructor and Description |
---|
WebFluxConfig(ResourceProperties resourceProperties,
WebProperties webProperties,
WebFluxProperties webFluxProperties,
ListableBeanFactory beanFactory,
ObjectProvider<HandlerMethodArgumentResolver> resolvers,
ObjectProvider<CodecCustomizer> codecCustomizers,
ObjectProvider<ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizer,
ObjectProvider<ViewResolver> viewResolvers) |
Modifier and Type | Method and Description |
---|---|
void |
addFormatters(FormatterRegistry registry) |
void |
addResourceHandlers(ResourceHandlerRegistry registry) |
void |
configureArgumentResolvers(ArgumentResolverConfigurer configurer) |
void |
configureHttpMessageCodecs(ServerCodecConfigurer configurer) |
void |
configureViewResolvers(ViewResolverRegistry registry) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCorsMappings, configureContentTypeResolver, configurePathMatching, getMessageCodesResolver, getValidator, getWebSocketService
public WebFluxConfig(ResourceProperties resourceProperties, WebProperties webProperties, WebFluxProperties webFluxProperties, ListableBeanFactory beanFactory, ObjectProvider<HandlerMethodArgumentResolver> resolvers, ObjectProvider<CodecCustomizer> codecCustomizers, ObjectProvider<ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizer, ObjectProvider<ViewResolver> viewResolvers)
public void configureArgumentResolvers(ArgumentResolverConfigurer configurer)
configureArgumentResolvers
in interface WebFluxConfigurer
public void configureHttpMessageCodecs(ServerCodecConfigurer configurer)
configureHttpMessageCodecs
in interface WebFluxConfigurer
public void addResourceHandlers(ResourceHandlerRegistry registry)
addResourceHandlers
in interface WebFluxConfigurer
public void configureViewResolvers(ViewResolverRegistry registry)
configureViewResolvers
in interface WebFluxConfigurer
public void addFormatters(FormatterRegistry registry)
addFormatters
in interface WebFluxConfigurer