@Configuration @EnableConfigurationProperties(value={ResourceProperties.class,WebFluxProperties.class}) @Import(value=WebFluxAutoConfiguration.EnableWebFluxConfiguration.class) public static class WebFluxAutoConfiguration.WebFluxConfig extends Object implements WebFluxConfigurer
Constructor and Description |
---|
WebFluxConfig(ResourceProperties resourceProperties,
WebFluxProperties webFluxProperties,
ListableBeanFactory beanFactory,
ObjectProvider<List<HandlerMethodArgumentResolver>> resolvers,
ObjectProvider<org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration.ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizer,
ObjectProvider<List<ViewResolver>> viewResolvers) |
Modifier and Type | Method and Description |
---|---|
void |
addFormatters(FormatterRegistry registry) |
void |
addResourceHandlers(ResourceHandlerRegistry registry) |
void |
configureArgumentResolvers(ArgumentResolverConfigurer configurer) |
void |
configureViewResolvers(ViewResolverRegistry registry) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCorsMappings, configureContentTypeResolver, configureHttpMessageCodecs, configurePathMatching, getMessageCodesResolver, getValidator
public WebFluxConfig(ResourceProperties resourceProperties, WebFluxProperties webFluxProperties, ListableBeanFactory beanFactory, ObjectProvider<List<HandlerMethodArgumentResolver>> resolvers, ObjectProvider<org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration.ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizer, ObjectProvider<List<ViewResolver>> viewResolvers)
public void configureArgumentResolvers(ArgumentResolverConfigurer configurer)
configureArgumentResolvers
in interface WebFluxConfigurer
public void addResourceHandlers(ResourceHandlerRegistry registry)
addResourceHandlers
in interface WebFluxConfigurer
public void configureViewResolvers(ViewResolverRegistry registry)
configureViewResolvers
in interface WebFluxConfigurer
public void addFormatters(FormatterRegistry registry)
addFormatters
in interface WebFluxConfigurer
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.