|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResponseHandler
API for handling HTTP responses.
Method Summary | |
---|---|
void |
onBadRequest(Response response)
TODO: Add a description for this method. |
void |
onConflict(Response response)
TODO: Add a description for this method. |
void |
onError(Response response)
TODO: Add a description for this method. |
void |
onFailed(java.lang.Throwable throwable)
TODO: Add a description for this method. |
void |
onMethodNotAllowed(Response response)
TODO: Add a description for this method. |
void |
onNoContent(Response response)
Handle a '204 NO CONTENT' response from the remote server. |
void |
onNotFound(Response response)
TODO: Add a description for this method. |
void |
onOK(Response response)
Handle a '200 OK' response from the remote server. |
void |
onSessionTimeout(Response response)
TODO: Add a description for this method. |
void |
onUnauthorized(Response response)
TODO: Add a description for this method. |
void |
onUnsupported(Response response)
TODO: Add a description for this method. |
Method Detail |
---|
void onNoContent(Response response)
response
- The server response.void onOK(Response response)
response
- The server response.void onMethodNotAllowed(Response response)
response
- void onBadRequest(Response response)
response
- void onSessionTimeout(Response response)
response
- void onUnsupported(Response response)
response
- void onFailed(java.lang.Throwable throwable)
throwable
- void onNotFound(Response response)
response
- void onError(Response response)
response
- void onUnauthorized(Response response)
response
- void onConflict(Response response)
response
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |