T - type.public class CloudCallbackAdapter<T> extends java.lang.Object implements CloudCallback<T>
CloudCallback empty implementation.| Constructor and Description |
|---|
CloudCallbackAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(CloudError error)
Called when an asynchronous call fails to complete normally.
|
void |
onSuccess(T response,
CloudHeaders headers)
Called when an asynchronous call completes successfully.
|
public void onSuccess(T response, CloudHeaders headers)
CloudCallbackonSuccess in interface CloudCallback<T>response - the response object.headers - the response headers.public void onError(CloudError error)
CloudCallbackonError in interface CloudCallback<T>error - the error object.