@AutoConfiguration(after=org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration.class)
@ConditionalOnProperty(prefix="spring.test.webclient",
name="register-rest-template")
public class WebClientRestTemplateAutoConfiguration
extends java.lang.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(org.springframework.boot.web.client.RestTemplateBuilder builder) |