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 Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object