@Configuration @ConditionalOnProperty(prefix="spring.test.webclient", name="register-rest-template") @AutoConfigureAfter(value=RestTemplateAutoConfiguration.class) public class WebClientRestTemplateAutoConfiguration extends Object
RestTemplate
. Used when
AutoConfigureWebClient.registerRestTemplate()
is true
.AutoConfigureMockRestServiceServer
Constructor and Description |
---|
WebClientRestTemplateAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.client.RestTemplate |
restTemplate(RestTemplateBuilder builder) |
public WebClientRestTemplateAutoConfiguration()
@Bean public org.springframework.web.client.RestTemplate restTemplate(RestTemplateBuilder builder)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.