public class RestDispatchAsync extends Object implements RestDispatch
RestDispatch
.Modifier and Type | Method and Description |
---|---|
<A extends RestAction<R>,R> |
execute(A action,
AsyncCallback<R> callback)
This method is called client-side whenever a new action is executed.
|
public <A extends RestAction<R>,R> DispatchRequest execute(A action, AsyncCallback<R> callback)
RestDispatch
execute
in interface RestDispatch
action
- the RestAction
to execute.callback
- the AsyncCallback
to call when the execution is done.DispatchCall.execute()
Copyright © 2010-2014 ArcBees. All Rights Reserved.