类 WebClientRestTemplateAutoConfiguration
- java.lang.Object
- org.springframework.boot.test.autoconfigure.web.client.WebClientRestTemplateAutoConfiguration
@Configuration @ConditionalOnProperty(prefix="spring.test.webclient", name="register-rest-template") public class WebClientRestTemplateAutoConfiguration extends Object
Auto-configuration for a web-clientRestTemplate
. Used whenAutoConfigureWebClient.registerRestTemplate()
istrue
.- 从以下版本开始:
- 1.4.0
- 另请参阅:
AutoConfigureMockRestServiceServer
构造器概要
构造器 构造器 说明 WebClientRestTemplateAutoConfiguration()
构造器详细资料
WebClientRestTemplateAutoConfiguration
public WebClientRestTemplateAutoConfiguration()
方法详细资料
restTemplate
@Bean public org.springframework.web.client.RestTemplate restTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder)