public class HttpBasicAuth extends Object implements Authentication
Constructor and Description |
---|
HttpBasicAuth() |
Modifier and Type | Method and Description |
---|---|
void |
applyToParams(List<Pair> queryParams,
Map<String,String> headerParams,
Map<String,String> cookieParams)
Apply authentication settings to header and query params.
|
String |
getPassword() |
String |
getUsername() |
void |
setPassword(String password) |
void |
setUsername(String username) |
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public void applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams)
Authentication
applyToParams
in interface Authentication
queryParams
- List of query parametersheaderParams
- Map of header parameterscookieParams
- Map of cookie parametersCopyright © 2022. All rights reserved.