public interface BaseResponseListener
Modifier and Type | Method and Description |
---|---|
void |
onRequestFailed(java.lang.Integer httpStatusCode,
java.io.IOException exception)
Called when the request fails.
|
void |
onRequestMade()
Called when the network request is made.
|
void onRequestFailed(java.lang.Integer httpStatusCode, java.io.IOException exception)
httpStatusCode
- The HTTP status code returned by the server, or null if the request
could not be made.exception
- If the request failed for certain reasons, like connectivity issues, an
exception may be provided. If the request was made but the server responded with an HTTP
status code outside of the 200 series, the value will be null.void onRequestMade()