public class HTTPAuthProvider extends Object implements Serializable, org.apache.http.client.CredentialsProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
PROXY_AUTH_RESP |
static String |
WWW_AUTH_RESP |
| Constructor and Description |
|---|
HTTPAuthProvider(String url,
HTTPMethod method) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
org.apache.http.auth.Credentials |
getCredentials(org.apache.http.auth.AuthScope scope) |
void |
setCredentials(org.apache.http.auth.AuthScope scope,
org.apache.http.auth.Credentials creds) |
String |
toString() |
public static final String WWW_AUTH_RESP
public static final String PROXY_AUTH_RESP
public HTTPAuthProvider(String url, HTTPMethod method)
public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope scope)
getCredentials in interface org.apache.http.client.CredentialsProviderpublic void setCredentials(org.apache.http.auth.AuthScope scope,
org.apache.http.auth.Credentials creds)
setCredentials in interface org.apache.http.client.CredentialsProviderpublic void clear()
clear in interface org.apache.http.client.CredentialsProviderCopyright © 1999–2015 UCAR/Unidata. All rights reserved.