public abstract static class PromisedReply.SuccessListener<U>
extends java.lang.Object
| Constructor and Description |
|---|
SuccessListener() |
| Modifier and Type | Method and Description |
|---|---|
abstract PromisedReply<U> |
onSuccess(U result)
Callback to execute when the promise is successfully resolved.
|
public abstract PromisedReply<U> onSuccess(U result) throws java.lang.Exception
result - result of the call.java.lang.Exception - thrown if handler want to call the next failure handler in chain.