return delegate.asResource();
}
@SuppressWarnings({"unchecked"})
protected <R> void execute(RestAction<R> action) {
DispatchRequest dispatchRequest = dispatcher.execute(action, (AsyncCallback<R>) callback);
if (delegatingDispatchRequest != null) {
delegatingDispatchRequest.setDelegate(dispatchRequest);
}
}