| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public BasicCredentialsImpl | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public String | |
| public int | |
| public void | |
| public void |
| password | back to summary |
|---|---|
| private String password | |
| username | back to summary |
|---|---|
| private String username | |
| BasicCredentialsImpl | back to summary |
|---|---|
| public BasicCredentialsImpl() | |
| BasicCredentialsImpl | back to summary |
|---|---|
| public BasicCredentialsImpl(String username, String password) | |
| clone | back to summary |
|---|---|
| public BasicCredentialsImpl clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getPassword | back to summary |
|---|---|
| public String getPassword() Implements org.
| |
| getUsername | back to summary |
|---|---|
| public String getUsername() Implements org.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setPassword | back to summary |
|---|---|
| public void setPassword(String password) Implements org.
| |
| setUsername | back to summary |
|---|---|
| public void setUsername(String username) Implements org.
| |