类 WebFluxAutoConfiguration.WebFluxConfig
- java.lang.Object
- org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration.WebFluxConfig
- 所有已实现的接口:
org.springframework.web.reactive.config.WebFluxConfigurer
@Configuration @EnableConfigurationProperties({ResourceProperties.class,WebFluxProperties.class}) @Import(EnableWebFluxConfiguration.class) public static class WebFluxAutoConfiguration.WebFluxConfig extends Object implements org.springframework.web.reactive.config.WebFluxConfigurer
构造器概要
构造器 构造器 说明 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)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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)
构造器详细资料
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)
方法详细资料
configureArgumentResolvers
public void configureArgumentResolvers(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)
- 指定者:
configureArgumentResolvers
在接口中org.springframework.web.reactive.config.WebFluxConfigurer
configureHttpMessageCodecs
public void configureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer)
- 指定者:
configureHttpMessageCodecs
在接口中org.springframework.web.reactive.config.WebFluxConfigurer
addResourceHandlers
public void addResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)
- 指定者:
addResourceHandlers
在接口中org.springframework.web.reactive.config.WebFluxConfigurer
configureViewResolvers
public void configureViewResolvers(org.springframework.web.reactive.config.ViewResolverRegistry registry)
- 指定者:
configureViewResolvers
在接口中org.springframework.web.reactive.config.WebFluxConfigurer
addFormatters
public void addFormatters(org.springframework.format.FormatterRegistry registry)
- 指定者:
addFormatters
在接口中org.springframework.web.reactive.config.WebFluxConfigurer