Constructor and Description |
---|
ReactiveVaultClients() |
Modifier and Type | Method and Description |
---|---|
static WebClient |
createWebClient(VaultEndpoint endpoint,
ClientHttpConnector connector)
|
static WebClient |
createWebClient(VaultEndpointProvider endpointProvider,
ClientHttpConnector connector)
|
public static WebClient createWebClient(VaultEndpoint endpoint, 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 WebClient createWebClient(VaultEndpointProvider endpointProvider, 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–2019 Pivotal Software, Inc.. All rights reserved.