Class WebFluxAutoConfiguration.WebFluxConfig
java.lang.Object
org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration.WebFluxConfig
- All Implemented Interfaces:
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 WebFluxConfigurer
-
Constructor Summary
ConstructorDescriptionWebFluxConfig
(Environment environment, WebProperties webProperties, WebFluxProperties webFluxProperties, ListableBeanFactory beanFactory, ObjectProvider<HandlerMethodArgumentResolver> resolvers, ObjectProvider<CodecCustomizer> codecCustomizers, ObjectProvider<ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizers, ObjectProvider<ViewResolver> viewResolvers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFormatters
(FormatterRegistry registry) void
addResourceHandlers
(ResourceHandlerRegistry registry) void
configureArgumentResolvers
(ArgumentResolverConfigurer configurer) void
void
configureHttpMessageCodecs
(ServerCodecConfigurer configurer) void
configureViewResolvers
(ViewResolverRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.reactive.config.WebFluxConfigurer
addCorsMappings, configureContentTypeResolver, configurePathMatching, getMessageCodesResolver, getValidator, getWebSocketService
-
Constructor Details
-
WebFluxConfig
public WebFluxConfig(Environment environment, WebProperties webProperties, WebFluxProperties webFluxProperties, ListableBeanFactory beanFactory, ObjectProvider<HandlerMethodArgumentResolver> resolvers, ObjectProvider<CodecCustomizer> codecCustomizers, ObjectProvider<ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizers, ObjectProvider<ViewResolver> viewResolvers)
-
-
Method Details
-
configureArgumentResolvers
- Specified by:
configureArgumentResolvers
in interfaceWebFluxConfigurer
-
configureHttpMessageCodecs
- Specified by:
configureHttpMessageCodecs
in interfaceWebFluxConfigurer
-
configureBlockingExecution
- Specified by:
configureBlockingExecution
in interfaceWebFluxConfigurer
-
addResourceHandlers
- Specified by:
addResourceHandlers
in interfaceWebFluxConfigurer
-
configureViewResolvers
- Specified by:
configureViewResolvers
in interfaceWebFluxConfigurer
-
addFormatters
- Specified by:
addFormatters
in interfaceWebFluxConfigurer
-