Class ProxyResponseAutoConfiguration

  • All Implemented Interfaces:
    org.springframework.web.reactive.config.WebFluxConfigurer

    @Configuration
    @ConditionalOnWebApplication
    @ConditionalOnClass(org.springframework.web.method.support.HandlerMethodReturnValueHandler.class)
    @EnableConfigurationProperties(ProxyProperties.class)
    public class ProxyResponseAutoConfiguration
    extends java.lang.Object
    implements org.springframework.web.reactive.config.WebFluxConfigurer
    Autoconfiguration for the ProxyExchange argument handler in Spring Webflux @RequestMapping methods.
    Author:
    Dave Syer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configureArgumentResolvers​(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)  
      ProxyExchangeArgumentResolver proxyExchangeArgumentResolver​(java.util.Optional<org.springframework.web.reactive.function.client.WebClient.Builder> optional, ProxyProperties proxy)  
      • 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, addFormatters, addResourceHandlers, configureContentTypeResolver, configureHttpMessageCodecs, configurePathMatching, configureViewResolvers, getMessageCodesResolver, getValidator
    • Constructor Detail

      • ProxyResponseAutoConfiguration

        public ProxyResponseAutoConfiguration()
    • Method Detail

      • proxyExchangeArgumentResolver

        @Bean
        @ConditionalOnMissingBean
        public ProxyExchangeArgumentResolver proxyExchangeArgumentResolver​(java.util.Optional<org.springframework.web.reactive.function.client.WebClient.Builder> optional,
                                                                           ProxyProperties proxy)
      • configureArgumentResolvers

        public void configureArgumentResolvers​(org.springframework.web.reactive.result.method.annotation.ArgumentResolverConfigurer configurer)
        Specified by:
        configureArgumentResolvers in interface org.springframework.web.reactive.config.WebFluxConfigurer