public class ApiAccountHealthStatusHandler extends com.ning.http.client.AsyncCompletionHandler<List<CloudBeesWidget.StatusLine>>
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiAccountHealthStatusHandler.Authentication
Represents the type of authentication to query with.
|
| Constructor and Description |
|---|
ApiAccountHealthStatusHandler() |
| Modifier and Type | Method and Description |
|---|---|
static com.ning.http.client.ListenableFuture<List<CloudBeesWidget.StatusLine>> |
executeRequest(com.ning.http.client.AsyncHttpClient client,
ApiAccountHealthStatusHandler.Authentication authenticationType,
String authentication,
String accountName)
Submits an account health status query.
|
static com.ning.http.client.ListenableFuture<List<CloudBeesWidget.StatusLine>> |
executeRequest(com.ning.http.client.AsyncHttpClient client,
String uid,
String accountName)
|
List<CloudBeesWidget.StatusLine> |
onCompleted(com.ning.http.client.Response response) |
@Deprecated public static com.ning.http.client.ListenableFuture<List<CloudBeesWidget.StatusLine>> executeRequest(com.ning.http.client.AsyncHttpClient client, String uid, String accountName) throws IOException
client - the client to make the request with.uid - the uid of the user to make the request as.accountName - the accountIOExceptionpublic static com.ning.http.client.ListenableFuture<List<CloudBeesWidget.StatusLine>> executeRequest(com.ning.http.client.AsyncHttpClient client, ApiAccountHealthStatusHandler.Authentication authenticationType, String authentication, String accountName) throws IOException
client - the client to make the request with.authenticationType - the type of authentication.authentication - the authentication.accountName - IOExceptionpublic List<CloudBeesWidget.StatusLine> onCompleted(com.ning.http.client.Response response) throws Exception
onCompleted in class com.ning.http.client.AsyncCompletionHandler<List<CloudBeesWidget.StatusLine>>ExceptionCopyright © 2004-2016. All Rights Reserved.