Class WebFluxAutoConfiguration.WebFluxConfig
- java.lang.Object
- org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration.WebFluxConfig
- All Implemented Interfaces:
org.springframework.web.reactive.config.WebFluxConfigurer
- Enclosing class:
- WebFluxAutoConfiguration
@Configuration @EnableConfigurationProperties({ResourceProperties.class,WebFluxProperties.class}) @Import(EnableWebFluxConfiguration.class) public static class WebFluxAutoConfiguration.WebFluxConfig extends Object implements org.springframework.web.reactive.config.WebFluxConfigurer
Constructor Summary
Constructors Constructor Description WebFluxConfig(ResourceProperties resourceProperties, WebFluxProperties webFluxProperties, org.springframework.beans.factory.ListableBeanFactory beanFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.method.HandlerMethodArgumentResolver> resolvers, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.web.codec.CodecCustomizer> codecCustomizers, org.springframework.beans.factory.ObjectProvider<ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizer, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.view.ViewResolver> viewResolvers)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFormatters(org.springframework.format.FormatterRegistry registry)voidaddResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)voidconfigureArgumentResolvers(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)voidconfigureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer)voidconfigureViewResolvers(org.springframework.web.reactive.config.ViewResolverRegistry registry)
Constructor Detail
WebFluxConfig
public WebFluxConfig(ResourceProperties resourceProperties, WebFluxProperties webFluxProperties, org.springframework.beans.factory.ListableBeanFactory beanFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.method.HandlerMethodArgumentResolver> resolvers, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.web.codec.CodecCustomizer> codecCustomizers, org.springframework.beans.factory.ObjectProvider<ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizer, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.result.view.ViewResolver> viewResolvers)
Method Detail
configureArgumentResolvers
public void configureArgumentResolvers(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)
- Specified by:
configureArgumentResolversin interfaceorg.springframework.web.reactive.config.WebFluxConfigurer
configureHttpMessageCodecs
public void configureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer)
- Specified by:
configureHttpMessageCodecsin interfaceorg.springframework.web.reactive.config.WebFluxConfigurer
addResourceHandlers
public void addResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)
- Specified by:
addResourceHandlersin interfaceorg.springframework.web.reactive.config.WebFluxConfigurer
configureViewResolvers
public void configureViewResolvers(org.springframework.web.reactive.config.ViewResolverRegistry registry)
- Specified by:
configureViewResolversin interfaceorg.springframework.web.reactive.config.WebFluxConfigurer
addFormatters
public void addFormatters(org.springframework.format.FormatterRegistry registry)
- Specified by:
addFormattersin interfaceorg.springframework.web.reactive.config.WebFluxConfigurer