|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.httpclient.UsernamePasswordCredentials
public class UsernamePasswordCredentials
Username and password Credentials.
| Constructor Summary | |
|---|---|
UsernamePasswordCredentials(String usernamePassword)
The constructor with the username and password combined string argument. |
|
UsernamePasswordCredentials(String userName,
String password)
The constructor with the username and password arguments. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
These credentials are assumed equal if the username and password are the same. |
String |
getPassword()
Password property getter. |
String |
getUserName()
User name property getter. |
int |
hashCode()
Does a hash of both user name and password. |
String |
toString()
Get this object string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UsernamePasswordCredentials(String usernamePassword)
usernamePassword - the username:password formed stringtoString()
public UsernamePasswordCredentials(String userName,
String password)
userName - the user namepassword - the password| Method Detail |
|---|
public String getUserName()
public String getPassword()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objecto - The other object to compare with.
true if the object is equivalent.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||