T
- The class of the result object returned in case of success.public interface Result<T>
AsyncCallback
interface used by the
GWT-RPC mechanism.Modifier and Type | Method and Description |
---|---|
void |
onFailure(java.lang.Throwable caught)
Method called back by the associated
GwtClientProxy object when a failure
is detected. |
void |
onSuccess(T result)
Method called back by the associated
GwtClientProxy object in case of
success. |
void onFailure(java.lang.Throwable caught)
GwtClientProxy
object when a failure
is detected.caught
- The exception or error caught.void onSuccess(T result)
GwtClientProxy
object in case of
success.result
- The result object.Copyright © 2005-2024 Restlet.