@Configuration(proxyBeanMethods=false) @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 |
---|---|
RestTemplate |
restTemplate(RestTemplateBuilder builder) |
public WebClientRestTemplateAutoConfiguration()
@Bean public RestTemplate restTemplate(RestTemplateBuilder builder)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.