java.lang.Object |
↳ |
com.commsignia.v2x.client.SimpleResponseHandler |
Class Overview
Convenience class for handling simple responses.
Summary
Public Methods |
abstract
void
|
failure(Throwable cause)
The failure handler.
|
abstract
void
|
success()
The success handler.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.commsignia.v2x.client.ResponseHandler
abstract
void
|
failure(Throwable cause)
Called when the request fails
|
abstract
void
|
success(T response)
Called when the request was successful
|
|
Public Constructors
public
SimpleResponseHandler
()
Public Methods
public
abstract
void
failure
(Throwable cause)
Parameters
cause |
cause of the failure
|
public
abstract
void
success
()