public abstract class AbstractApiCall
extends java.lang.Object
| Constructor and Description |
|---|
AbstractApiCall(java.lang.String apiCallName,
java.io.PrintStream logger,
java.util.Optional<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials> credentials) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.impl.client.CloseableHttpClient |
createHttpClient() |
protected void |
throwIfStatusNotOk(org.apache.http.HttpResponse response,
java.lang.String body) |
public AbstractApiCall(java.lang.String apiCallName,
java.io.PrintStream logger,
java.util.Optional<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials> credentials)
protected final org.apache.http.impl.client.CloseableHttpClient createHttpClient()
throws java.security.KeyManagementException,
java.security.NoSuchAlgorithmException,
java.security.KeyStoreException
java.security.KeyManagementExceptionjava.security.NoSuchAlgorithmExceptionjava.security.KeyStoreExceptionprotected void throwIfStatusNotOk(org.apache.http.HttpResponse response,
java.lang.String body)
throws MeasureApiCall.MeasureApiCallException