public class HttpCredentialsImpl extends Object implements HttpCredentials
HttpCredentials
implementation.Constructor and Description |
---|
HttpCredentialsImpl(String username,
byte[] password)
Initiate.
|
HttpCredentialsImpl(String username,
String password)
Convenience constructor for providing a
String password. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getPassword()
Obtains the password.
|
String |
getUsername()
Obtains the username.
|
public HttpCredentialsImpl(String username, byte[] password)
username
- Username.password
- Password.public String getUsername()
HttpCredentials
getUsername
in interface HttpCredentials
public byte[] getPassword()
HttpCredentials
getPassword
in interface HttpCredentials
Copyright © 2005–2016. All rights reserved.