|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Rest service return typepublic interface Callback<T>
Defines a callback to be called when the rest service returns.
| Method Summary | |
|---|---|
void |
onError(Exception e)
Called when a problem occurred on rest service invocation. |
void |
onSuccess(T result)
Called when the rest service returns something. |
| Method Detail |
|---|
void onSuccess(T result)
result - the value returnedvoid onError(Exception e)
e - the error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||