T - Type of responsepublic interface IResponseCallback<T>
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
invoke(IResponseCallback<T> callback,
T response)
Convenience method for invoking a callback unless it is null.
|
void |
onComplete(T response)
Reports the response.
|
void onComplete(T response)
response - The response.static <T> void invoke(IResponseCallback<T> callback, T response)
T - The type of response object.callback - The callback (may be null).response - The response to report.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.