public final class BasicAuth
extends Object
Constructor and Description |
---|
BasicAuth(String user,
String password)
Creates a new
BasicAuth instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getPassword()
The password of BASIC Authentication.
|
String |
getUser()
The user of BASIC Authentication.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"user","password"}) public BasicAuth(String user, String password)
BasicAuth
instance.user
- The user of BASIC Authentication.password
- The password of BASIC Authentication.public String getUser()
public String getPassword()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object