|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.auth.BasicUserPrincipal
public final class BasicUserPrincipal
Basic user principal used for HTTP authentication
| Constructor Summary | |
|---|---|
BasicUserPrincipal(String username)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. |
String |
getName()
|
int |
hashCode()
Returns an integer hash code for the receiver. |
String |
toString()
Returns a string containing a concise, human-readable description of the receiver. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicUserPrincipal(String username)
| Method Detail |
|---|
public String getName()
getName in interface Principalpublic int hashCode()
Objecttrue when passed to .equals must
answer the same value for this method.
hashCode in interface PrincipalhashCode in class ObjectObject.equals(java.lang.Object)public boolean equals(Object o)
Object
equals in interface Principalequals in class Objecto - Object the object to compare with this object.
true if the object is the same as this
object false if it is different from this object.Object.hashCode()public String toString()
Object
toString in interface PrincipaltoString in class Object
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||