T
- the generic typepublic interface ServiceCallback<T>
Modifier and Type | Method and Description |
---|---|
void |
onFailure(Exception e)
Called if there is an error during the request.
|
void |
onResponse(T response)
Called with the response.
|
Copyright © 2015–2016 IBM Watson. All rights reserved.