public class AdminServiceRESTClient extends Object implements AdminService
| Constructor and Description |
|---|
AdminServiceRESTClient() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addHeaders(HttpURLConnection connection,
String tenantId)
Add the header values to the supplied connection.
|
String |
getBaseUrl() |
CollectorConfiguration |
getConfiguration(String tenantId,
String host,
String server) |
String |
getPassword() |
String |
getUsername() |
void |
setBaseUrl(String baseUrl) |
void |
setPassword(String password) |
void |
setUsername(String username) |
public String getUsername()
public void setUsername(String username)
username - the username to setpublic String getPassword()
public void setPassword(String password)
password - the password to setpublic String getBaseUrl()
public void setBaseUrl(String baseUrl)
baseUrl - the baseUrl to setpublic CollectorConfiguration getConfiguration(String tenantId, String host, String server)
getConfiguration in interface AdminServiceprotected void addHeaders(HttpURLConnection connection, String tenantId)
connection - The connectiontenantId - The optional tenant idCopyright © 2015 Red Hat, Inc.. All rights reserved.