Package com.ibm.cloud.sdk.core.http
Interface ServiceCallback<T>
-
- Type Parameters:
T
- the generic type
public interface ServiceCallback<T>
Callback with the response for an Asynchronous request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onFailure(java.lang.Exception e)
Called if there is an error during the request.void
onResponse(Response<T> response)
Called with the response.
-