public class CredHubClient
extends java.lang.Object
RestTemplate configured for communication with
a CredHub server.| Constructor and Description |
|---|
CredHubClient() |
| Modifier and Type | Method and Description |
|---|---|
static void |
configureRestTemplate(org.springframework.web.client.RestTemplate restTemplate,
java.lang.String baseUri,
org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory)
Configure a
RestTemplate for communication with a CredHub server. |
static org.springframework.web.client.RestTemplate |
createRestTemplate(java.lang.String baseUri,
org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory)
Create a
RestTemplate configured for communication with a CredHub server. |
public static org.springframework.web.client.RestTemplate createRestTemplate(java.lang.String baseUri,
org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory)
RestTemplate configured for communication with a CredHub server.baseUri - the base URI for the CredHub serverclientHttpRequestFactory - the ClientHttpRequestFactory to use when
creating new connectionsRestTemplatepublic static void configureRestTemplate(org.springframework.web.client.RestTemplate restTemplate,
java.lang.String baseUri,
org.springframework.http.client.ClientHttpRequestFactory clientHttpRequestFactory)
RestTemplate for communication with a CredHub server.restTemplate - an existing RestTemplate to configurebaseUri - the base URI for the CredHub serverclientHttpRequestFactory - the ClientHttpRequestFactory to use when
creating new connections