public class ConfigHttpClient extends Object
HttpGet httpGet = new HttpGet("https://my-config-store.azconfig.io/keys"); CloseableHttpResponse response = ConfigHttpClient.execute(httpGet, "my-credential", "my-secret");
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_AGENT |
| Constructor and Description |
|---|
ConfigHttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.client.methods.CloseableHttpResponse |
execute(org.apache.http.client.methods.HttpUriRequest request,
Date date,
String credential,
String secret) |
public static final String USER_AGENT
public ConfigHttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient)
public org.apache.http.client.methods.CloseableHttpResponse execute(@NonNull
org.apache.http.client.methods.HttpUriRequest request,
Date date,
String credential,
String secret)
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionCopyright © 2019 Pivotal Software, Inc.. All rights reserved.