public class ApiKeyCredentialsProvider extends java.lang.Object implements CredentialsProvider
| Constructor and Description |
|---|
ApiKeyCredentialsProvider(java.lang.String apiKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureRequest(java.lang.String baseUrl,
org.apache.http.client.methods.HttpUriRequest request,
org.apache.http.client.protocol.HttpClientContext httpClientContext) |
public ApiKeyCredentialsProvider(java.lang.String apiKey)
public void configureRequest(java.lang.String baseUrl,
org.apache.http.client.methods.HttpUriRequest request,
org.apache.http.client.protocol.HttpClientContext httpClientContext)
throws org.apache.http.auth.AuthenticationException,
java.net.URISyntaxException
configureRequest in interface CredentialsProviderorg.apache.http.auth.AuthenticationExceptionjava.net.URISyntaxException