Class RestTemplateBuilder

java.lang.Object
org.springframework.vault.client.RestTemplateBuilder

public class RestTemplateBuilder extends Object
Builder that can be used to configure and create a RestTemplate. Provides convenience methods to configure ClientHttpRequestFactory, error handlers and default headers. By default the built RestTemplate will attempt to use the most suitable ClientHttpRequestFactory using ClientHttpRequestFactoryFactory.create(org.springframework.vault.support.ClientOptions, org.springframework.vault.support.SslConfiguration).
Since:
2.2
Author:
Mark Paluch
See Also: