@Contract(threading=SAFE)
public class BasicCredentialsProvider
extends java.lang.Object
implements org.apache.http.client.CredentialsProvider
CredentialsProvider.| Constructor and Description |
|---|
BasicCredentialsProvider()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
org.apache.http.auth.Credentials |
getCredentials(org.apache.http.auth.AuthScope authscope) |
void |
setCredentials(org.apache.http.auth.AuthScope authscope,
org.apache.http.auth.Credentials credentials) |
java.lang.String |
toString() |
public void setCredentials(org.apache.http.auth.AuthScope authscope,
org.apache.http.auth.Credentials credentials)
setCredentials in interface org.apache.http.client.CredentialsProviderpublic org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authscope)
getCredentials in interface org.apache.http.client.CredentialsProviderpublic void clear()
clear in interface org.apache.http.client.CredentialsProviderpublic java.lang.String toString()
toString in class java.lang.Object