@FunctionalInterface public interface RestTemplateFactory
RestTemplate
object. Factory implementations
are expected to create a new RestTemplate
object when calling
create()
.RestTemplateBuilder
,
RestTemplate
Modifier and Type | Method and Description |
---|---|
default org.springframework.web.client.RestTemplate |
create()
Create a
RestTemplate instance. |
org.springframework.web.client.RestTemplate |
create(Consumer<RestTemplateBuilder> customizer)
|
default org.springframework.web.client.RestTemplate create()
RestTemplate
instance.RestTemplate
instance.org.springframework.web.client.RestTemplate create(Consumer<RestTemplateBuilder> customizer)
customizer
- builder customizer.RestTemplate
instance.Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.