java.lang.Object | |
↳ | org.apache.http.impl.client.BasicCredentialsProvider |
Default implementation of CredentialsProvider
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clears all credentials.
| |||||||||||
Get the
credentials for the given authentication scope. | |||||||||||
Sets the
credentials for 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 credentials
for 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 simply concatenates the class name, the '@' sign
and a hexadecimal representation of the object's hashCode()
,
that is, it is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())