Uses of Class
org.springframework.vault.client.RestTemplateBuilder
Package
Description
Spring Vault Client abstraction.
Spring configuration for Vault.
Vault core support.
-
Uses of RestTemplateBuilder in org.springframework.vault.client
Modifier and TypeMethodDescriptionstatic RestTemplateBuilder
RestTemplateBuilder.builder()
Create a newRestTemplateBuilder
.RestTemplateBuilder.customizers
(RestTemplateCustomizer... customizer) Add theRestTemplateCustomizers
that should be applied to theRestTemplate
.RestTemplateBuilder.defaultHeader
(String name, String value) Add a default header that will be set if not already present on the outgoingHttpRequest
.RestTemplateBuilder.endpoint
(VaultEndpoint endpoint) Set theVaultEndpoint
that should be used with theRestTemplate
.RestTemplateBuilder.endpointProvider
(VaultEndpointProvider provider) Set theVaultEndpointProvider
that should be used with theRestTemplate
.RestTemplateBuilder.errorHandler
(ResponseErrorHandler errorHandler) Set theResponseErrorHandler
that should be used with theRestTemplate
.RestTemplateBuilder.requestCustomizers
(RestTemplateRequestCustomizer<?>... requestCustomizers) Add theRestTemplateRequestCustomizers
that should be applied to theClientHttpRequest
.RestTemplateBuilder.requestFactory
(Supplier<ClientHttpRequestFactory> requestFactory) Set theSupplier
ofClientHttpRequestFactory
that should be called each time webuild()
a newRestTemplate
instance.RestTemplateBuilder.requestFactory
(ClientHttpRequestFactory requestFactory) Set theClientHttpRequestFactory
that should be used with theRestTemplate
.Modifier and TypeMethodDescriptionRestTemplateFactory.create
(Consumer<RestTemplateBuilder> customizer) -
Uses of RestTemplateBuilder in org.springframework.vault.config
Modifier and TypeMethodDescriptionprotected RestTemplateBuilder
AbstractVaultConfiguration.restTemplateBuilder
(VaultEndpointProvider endpointProvider, ClientHttpRequestFactory requestFactory) -
Uses of RestTemplateBuilder in org.springframework.vault.core
ModifierConstructorDescriptionVaultTemplate
(RestTemplateBuilder restTemplateBuilder) VaultTemplate
(RestTemplateBuilder restTemplateBuilder, SessionManager sessionManager)