| java.lang.Object | |
| ↳ | org.apache.http.impl.client.BasicCredentialsProvider | 
      This class is deprecated.
    Please use openConnection() instead.
     Please visit this webpage
     for further details.
  
Default implementation of CredentialsProvider
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          Default constructor.
          
    
         | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          Clears all credentials.
          
    
         | |||||||||||
| 
          Get the  credentialsfor the given authentication scope. | |||||||||||
| 
          Sets the  credentialsfor the given authentication 
 scope. | |||||||||||
| 
          Returns a string containing a concise, human-readable description of this
 object.
          
    
         | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.lang.Object | |||||||||||
|  From interface
  org.apache.http.client.CredentialsProvider | |||||||||||
Get the credentials for the given authentication scope.
| authscope | the authentication scope | 
|---|
Sets the credentials for the given authentication 
 scope. Any previous credentials for the given scope will be overwritten.
| authscope | the authentication scope | 
|---|---|
| credentials | the authentication credentialsfor the given scope. | 
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
 toString method
 if you intend implementing your own toString method.