org.apache.http.impl.client
Class BasicCredentialsProviderHC4
java.lang.Object
org.apache.http.impl.client.BasicCredentialsProviderHC4
- All Implemented Interfaces:
- org.apache.http.client.CredentialsProvider
@ThreadSafe
public class BasicCredentialsProviderHC4
- extends java.lang.Object
- implements org.apache.http.client.CredentialsProvider
Default implementation of CredentialsProvider.
- Since:
- 4.0
|
Method Summary |
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()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BasicCredentialsProviderHC4
public BasicCredentialsProviderHC4()
- Default constructor.
setCredentials
public void setCredentials(org.apache.http.auth.AuthScope authscope,
org.apache.http.auth.Credentials credentials)
- Specified by:
setCredentials in interface org.apache.http.client.CredentialsProvider
getCredentials
public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authscope)
- Specified by:
getCredentials in interface org.apache.http.client.CredentialsProvider
clear
public void clear()
- Specified by:
clear in interface org.apache.http.client.CredentialsProvider
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object