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(proxyBeanMethods=false)
@EnableConfigurationProperties({WebProperties.class,WebFluxProperties.class})
@Import(EnableWebFluxConfiguration.class)
@Order(0)
public static class WebFluxAutoConfiguration.WebFluxConfig
extends Object
implements org.springframework.web.reactive.config.WebFluxConfigurer
-
Constructor Summary
ConstructorsConstructorDescriptionWebFluxConfig(org.springframework.core.env.Environment environment, 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) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFormatters(org.springframework.format.FormatterRegistry registry) voidaddResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry) voidconfigureArgumentResolvers(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer) voidconfigureBlockingExecution(org.springframework.web.reactive.config.BlockingExecutionConfigurer configurer) voidconfigureHttpMessageCodecs(org.springframework.http.codec.ServerCodecConfigurer configurer) voidconfigureViewResolvers(org.springframework.web.reactive.config.ViewResolverRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.reactive.config.WebFluxConfigurer
addCorsMappings, configureContentTypeResolver, configurePathMatching, getMessageCodesResolver, getValidator, getWebSocketService
-
Constructor Details
-
WebFluxConfig
public WebFluxConfig(org.springframework.core.env.Environment environment, 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)
-
-
Method Details
-
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
-
configureBlockingExecution
public void configureBlockingExecution(org.springframework.web.reactive.config.BlockingExecutionConfigurer configurer) - Specified by:
configureBlockingExecutionin 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
-