T - the response typepublic abstract class RequestExecutor<T>
extends java.lang.Object
| Constructor and Description |
|---|
RequestExecutor() |
| Modifier and Type | Method and Description |
|---|---|
T |
execute()
Executes created request synchronously.
|
void |
execute(CloudCallback<T> callback)
Executes created request asynchronously and invokes callback with the result.
|
public T execute() throws java.io.IOException, KontaktCloudException
java.io.IOException - exceptionKontaktCloudException - exceptionpublic void execute(CloudCallback<T> callback)
callback - the callback object.