@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 RestTemplate |
create()
Create a
RestTemplate instance. |
RestTemplate |
create(Consumer<RestTemplateBuilder> customizer)
|
default RestTemplate create()
RestTemplate
instance.RestTemplate
instance.RestTemplate create(Consumer<RestTemplateBuilder> customizer)
customizer
- builder customizer.RestTemplate
instance.Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.