@Configuration @EnableConfigurationProperties(value={ResourceProperties.class,WebFluxProperties.class}) @Import(value=WebFluxAutoConfiguration.EnableWebFluxConfiguration.class) public static class WebFluxAutoConfiguration.WebFluxConfig extends Object implements org.springframework.web.reactive.config.WebFluxConfigurer
Constructor and 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<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, 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<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.WebFluxConfigurer
public void configureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer)
configureHttpMessageCodecs
in interface org.springframework.web.reactive.config.WebFluxConfigurer
public void addResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry)
addResourceHandlers
in interface org.springframework.web.reactive.config.WebFluxConfigurer
public void configureViewResolvers(org.springframework.web.reactive.config.ViewResolverRegistry registry)
configureViewResolvers
in interface org.springframework.web.reactive.config.WebFluxConfigurer
public void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters
in interface org.springframework.web.reactive.config.WebFluxConfigurer
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.