public class Credentials extends Object
| Constructor and Description |
|---|
Credentials(String username,
String password)
Create a credentials object with username and password.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Get the password value.
|
String |
getUsername()
Get the username value.
|
static Credentials |
parse(String encoded)
Create a set of credentials.
|
String |
toString() |
public String getUsername()
public String getPassword()
public static Credentials parse(String encoded)
encoded - the encoded header