@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties(value={ResourceProperties.class,WebProperties.class,WebFluxProperties.class})
@Import(value=WebFluxAutoConfiguration.EnableWebFluxConfiguration.class)
@Order(value=0)
public static class WebFluxAutoConfiguration.WebFluxConfig
extends java.lang.Object
implements org.springframework.web.reactive.config.WebFluxConfigurer
| Constructor and Description |
|---|
WebFluxConfig(ResourceProperties resourceProperties,
WebProperties webProperties,
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) |
| Modifier and Type | Method and 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) |
public WebFluxConfig(ResourceProperties resourceProperties, WebProperties webProperties, 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)
public void configureArgumentResolvers(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)
configureArgumentResolvers in interface org.springframework.web.reactive.config.WebFluxConfigurerpublic void configureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer)
configureHttpMessageCodecs in interface org.springframework.web.reactive.config.WebFluxConfigurerpublic void addResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.reactive.config.WebFluxConfigurerpublic void configureViewResolvers(org.springframework.web.reactive.config.ViewResolverRegistry registry)
configureViewResolvers in interface org.springframework.web.reactive.config.WebFluxConfigurerpublic void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters in interface org.springframework.web.reactive.config.WebFluxConfigurer