Package | Description |
---|---|
org.jboss.errai.bus.client.api.base | |
org.jboss.errai.bus.client.api.builder | |
org.jboss.errai.bus.client.framework | |
org.jboss.errai.common.client.api |
Parent package for public API shared by all modules of the Errai framework.
|
org.jboss.errai.common.client.api.interceptor | |
org.jboss.errai.common.client.framework | |
org.jboss.errai.enterprise.client.jaxrs | |
org.jboss.errai.enterprise.client.jaxrs.api | |
org.jboss.errai.jpa.sync.client.local |
Modifier and Type | Method and Description |
---|---|
static <R,T> T |
MessageBuilder.createCall(RemoteCallback<R> callback,
BusErrorCallback errorCallback,
Class<T> service)
Creates an RPC call with error handling.
|
static <R,T> T |
MessageBuilder.createCall(RemoteCallback<R> callback,
Class<T> service)
Creates an RPC call, with no error handling.
|
Modifier and Type | Method and Description |
---|---|
<T,R> T |
DefaultRemoteCallBuilder.call(RemoteCallback<R> callback,
BusErrorCallback errorCallback,
Class<T> remoteService) |
<T,R> T |
DefaultRemoteCallBuilder.call(RemoteCallback<R> callback,
Class<T> remoteService) |
<T> RemoteCallErrorDef |
RemoteCallResponseDef.respondTo(Class<T> returnType,
RemoteCallback<T> callback)
Sets the callback response function, which is called after an endpoint is reached
|
Modifier and Type | Field and Description |
---|---|
protected RemoteCallback |
AbstractRpcProxy.remoteCallback |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRpcProxy.setRemoteCallback(RemoteCallback remoteCallback) |
Modifier and Type | Class and Description |
---|---|
class |
VoidCallback |
Modifier and Type | Method and Description |
---|---|
T |
Caller.call(RemoteCallback<?> callback)
Returns an instance of the proxy that can invoke service methods on the
service described by
T . |
<T> T |
BatchCaller.call(RemoteCallback<?> callback,
Class<T> remoteService)
Returns an instance of the proxy that can schedule invocations on service methods on the service described by
T . |
T |
Caller.call(RemoteCallback<?> callback,
ErrorCallback<?> errorCallback)
Returns an instance of the proxy that can invoke service methods on the
service described by
T . |
<T> T |
BatchCaller.call(RemoteCallback<?> callback,
ErrorCallback<?> errorCallback,
Class<T> remoteService)
Returns an instance of the proxy that can schedule invocations on service methods on the service described by
T . |
void |
BatchCaller.sendBatch(RemoteCallback<Void> callback)
Invokes the accumulated remote requests using a single server round trip.
|
void |
BatchCaller.sendBatch(RemoteCallback<Void> callback,
ErrorCallback<?> errorCallback)
Invokes the accumulated remote requests using a single server round trip.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
RemoteCallContext.proceed(RemoteCallback<?> callback)
Proceeds to the next interceptor in the chain or with the execution of the
intercepted method if all interceptors have been executed.
|
abstract void |
RemoteCallContext.proceed(RemoteCallback<?> callback,
ErrorCallback<?> errorCallback)
Proceeds to the next interceptor in the chain or with the execution of the
intercepted method if all interceptors have been executed.
|
Modifier and Type | Method and Description |
---|---|
void |
RpcStub.setRemoteCallback(RemoteCallback callback) |
Modifier and Type | Method and Description |
---|---|
abstract RemoteCallback<?> |
AbstractJaxrsProxy.getRemoteCallback()
Returns the remote callback used by this proxy.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractJaxrsProxy.setRequestCallback(RemoteCallback<com.google.gwt.http.client.Request> requestCallback) |
Modifier and Type | Interface and Description |
---|---|
interface |
RequestCallback
A
RemoteCallback that can be used
to retrieve the underlying HTTP request. |
interface |
ResponseCallback
A
RemoteCallback that can be used to retrieve the underlying HTTP response. |
Modifier and Type | Class and Description |
---|---|
class |
RequestHolder
Default implementation of
RequestCallback that allows the
cancellation of pending Request s. |
Modifier and Type | Method and Description |
---|---|
static <T,R> T |
RestClient.create(Class<T> remoteService,
RemoteCallback<R> callback,
Integer... successCodes)
Creates a client/proxy for the provided JAX-RS resource interface.
|
static <T,R> T |
RestClient.create(Class<T> remoteService,
RemoteCallback<R> callback,
RequestCallback requestCallback,
Integer... successCodes)
Creates a client/proxy for the provided JAX-RS resource interface.
|
static <T,R> T |
RestClient.create(Class<T> remoteService,
RemoteCallback<R> callback,
RestErrorCallback errorCallback,
Integer... successCodes)
Creates a client/proxy for the provided JAX-RS resource interface.
|
static <T,R> T |
RestClient.create(Class<T> remoteService,
RemoteCallback<R> callback,
RestErrorCallback errorCallback,
RequestCallback requestCallback,
Integer... successCodes)
Creates a client/proxy for the provided JAX-RS resource interface.
|
static <T,R> T |
RestClient.create(Class<T> remoteService,
String baseUrl,
RemoteCallback<R> callback,
Integer... successCodes)
Creates a client/proxy for the provided JAX-RS resource interface.
|
static <T,R> T |
RestClient.create(Class<T> remoteService,
String baseUrl,
RemoteCallback<R> callback,
RestErrorCallback errorCallback,
Integer... successCodes)
Creates a client/proxy for the provided JAX-RS resource interface.
|
static <T,R> T |
RestClient.create(Class<T> remoteService,
String baseUrl,
RemoteCallback<R> callback,
RestErrorCallback errorCallback,
RequestCallback requestCallback,
Integer... successCodes)
Creates a client/proxy for the provided JAX-RS resource interface.
|
Modifier and Type | Method and Description |
---|---|
<E> void |
ClientSyncManager.coldSync(String queryName,
Class<E> queryResultType,
Map<String,Object> queryParams,
RemoteCallback<List<SyncResponse<E>>> onCompletion,
ErrorCallback<?> onError)
Performs a "cold" synchronization on the results of the given query with the given parameters.
|
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.