public class ReactiveVaultClients extends Object
WebClient configured to the needs of accessing
Vault.| Constructor and Description |
|---|
ReactiveVaultClients() |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.web.reactive.function.client.WebClient |
createWebClient(VaultEndpoint endpoint,
org.springframework.http.client.reactive.ClientHttpConnector connector)
|
static org.springframework.web.reactive.function.client.WebClient |
createWebClient(VaultEndpointProvider endpointProvider,
org.springframework.http.client.reactive.ClientHttpConnector connector)
|
public static org.springframework.web.reactive.function.client.WebClient createWebClient(VaultEndpoint endpoint, org.springframework.http.client.reactive.ClientHttpConnector connector)
WebClient configured with VaultEndpoint and
ClientHttpConnector. The client accepts relative URIs without a leading
slash that are expanded to use VaultEndpoint.
Requires Jackson 2 for Object-to-JSON mapping.
endpoint - must not be null.connector - must not be null.WebClient.public static org.springframework.web.reactive.function.client.WebClient createWebClient(VaultEndpointProvider endpointProvider, org.springframework.http.client.reactive.ClientHttpConnector connector)
WebClient configured with VaultEndpoint and
ClientHttpConnector. The client accepts relative URIs without a leading
slash that are expanded to use VaultEndpoint.
Requires Jackson 2 for Object-to-JSON mapping.
endpointProvider - must not be null.connector - must not be null.WebClient.Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.