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 void
addFormatters(org.springframework.format.FormatterRegistry registry)
void
addResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)
void
configureArgumentResolvers(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)
void
configureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer)
void
configureViewResolvers(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:
configureArgumentResolvers
in interfaceorg.springframework.web.reactive.config.WebFluxConfigurer
configureHttpMessageCodecs
public void configureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer)
- Specified by:
configureHttpMessageCodecs
in interfaceorg.springframework.web.reactive.config.WebFluxConfigurer
addResourceHandlers
public void addResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)
- Specified by:
addResourceHandlers
in interfaceorg.springframework.web.reactive.config.WebFluxConfigurer
configureViewResolvers
public void configureViewResolvers(org.springframework.web.reactive.config.ViewResolverRegistry registry)
- Specified by:
configureViewResolvers
in interfaceorg.springframework.web.reactive.config.WebFluxConfigurer
addFormatters
public void addFormatters(org.springframework.format.FormatterRegistry registry)
- Specified by:
addFormatters
in interfaceorg.springframework.web.reactive.config.WebFluxConfigurer