Class ProxyResponseAutoConfiguration

java.lang.Object
org.springframework.cloud.gateway.webflux.config.ProxyResponseAutoConfiguration
All Implemented Interfaces:
org.springframework.web.reactive.config.WebFluxConfigurer

@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication @ConditionalOnClass(org.springframework.web.method.support.HandlerMethodReturnValueHandler.class) @EnableConfigurationProperties(ProxyProperties.class) public class ProxyResponseAutoConfiguration extends Object implements org.springframework.web.reactive.config.WebFluxConfigurer
Autoconfiguration for the ProxyExchange argument handler in Spring Webflux @RequestMapping methods.
Author:
Dave Syer, Tim Ysewyn
  • Constructor Details

    • ProxyResponseAutoConfiguration

      public ProxyResponseAutoConfiguration()
  • Method Details

    • proxyExchangeArgumentResolver

      @Bean @ConditionalOnMissingBean public ProxyExchangeArgumentResolver proxyExchangeArgumentResolver(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