|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.client.BasicCredentialsProvider
public class BasicCredentialsProvider
Default implementation of CredentialsProvider
| Constructor Summary | |
|---|---|
BasicCredentialsProvider()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears all credentials. |
Credentials |
getCredentials(AuthScope authscope)
Get the credentials for the given authentication scope. |
void |
setCredentials(AuthScope authscope,
Credentials credentials)
Sets the credentials for the given authentication
scope. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicCredentialsProvider()
| Method Detail |
|---|
public void setCredentials(AuthScope authscope,
Credentials credentials)
credentials for the given authentication
scope. Any previous credentials for the given scope will be overwritten.
setCredentials in interface CredentialsProviderauthscope - the authentication scopecredentials - the authentication credentials
for the given scope.getCredentials(AuthScope)public Credentials getCredentials(AuthScope authscope)
credentials for the given authentication scope.
getCredentials in interface CredentialsProviderauthscope - the authentication scope
setCredentials(AuthScope, Credentials)public java.lang.String toString()
toString in class java.lang.Objectpublic void clear()
clear in interface CredentialsProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||