|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- expected response typepublic interface Callback<T>
Communicates responses to server or offline requests. Contains a callback method for each possible outcome. One and only one method will be invoked in response to a given request.
Method Summary | |
---|---|
void |
failure(RetrofitError error)
Unsuccessful HTTP response due to network failure, non-2XX status code, or unexpected exception. |
void |
success(T t,
Response response)
Successful HTTP response. |
Method Detail |
---|
void success(T t, Response response)
void failure(RetrofitError error)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |