v2x-client
| com.commsignia.v2x.client.ResponseHandler<T> |
Known Indirect Subclasses
|
Used for creating response handlers for various requests.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
failure(Throwable cause)
Called when the request fails
| ||||||||||
| abstract void |
success(T response)
Called when the request was successful
| ||||||||||
Called when the request fails
| cause | error cause |
|---|
Called when the request was successful
| response | response data |
|---|