Class WebClientRestTemplateAutoConfiguration

java.lang.Object
org.springframework.boot.test.autoconfigure.web.client.WebClientRestTemplateAutoConfiguration

@AutoConfiguration(after=org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration.class) @ConditionalOnProperty(prefix="spring.test.webclient", name="register-rest-template") public class WebClientRestTemplateAutoConfiguration extends Object
Auto-configuration for a web-client RestTemplate. Used when AutoConfigureWebClient.registerRestTemplate() is true.
Since:
1.4.0
See Also:
  • Constructor Details

    • WebClientRestTemplateAutoConfiguration

      public WebClientRestTemplateAutoConfiguration()
  • Method Details

    • restTemplate

      @Bean public org.springframework.web.client.RestTemplate restTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder)