@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 |
---|---|
org.springframework.web.client.RestTemplate |
restTemplate(RestTemplateBuilder builder) |
public WebClientRestTemplateAutoConfiguration()
@Bean public org.springframework.web.client.RestTemplate restTemplate(RestTemplateBuilder builder)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.