T
- the type parameterpublic interface Callback<T>
Call.enqueue(Callback)
Modifier and Type | Method and Description |
---|---|
void |
onFailure(Call<T> call,
java.io.IOException t)
Called on failed operation
|
void |
onResponse(Call<T> call,
T response)
Called on a successful operation
|