@Configuration @ConditionalOnProperty(prefix="spring.test.webclient", name="register-rest-template") 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 © 2019 Pivotal Software, Inc.. All rights reserved.