Package com.google.gwt.user.client.rpc
Classes used in client-side implementation of remote procedure calls.
Most applications will be interested in AsyncCallback, InvocationException,
RemoteService, and ServiceDefTarget. The other classes in this package are used
primarily in implementing RPC proxies.
-
Interface Summary Interface Description AsyncCallback<T> The primary interface a caller must implement to receive a response from a remote procedure call.HasRpcToken An interface implemented by client-side RPC proxy objects.IsSerializable Marker interface indicating that a type is intended to be used with aRemoteService
.RemoteService Marker interface that RPC interfaces should extend.RpcToken An interface for RPC token implementation objects included with each RPC call.RpcTokenExceptionHandler Handles an exception produced while processingRpcToken
.SerializationStreamFactory An interface for creatingSerializationStreamReader
s andSerializationStreamWriter
s.SerializationStreamReader An interface for reading values from a stream.SerializationStreamWriter An interface for writing values into a stream.ServiceDefTarget An interface implemented by client-side RPC proxy objects.XsrfProtectedService XSRF protected equivalent ofRemoteService
.XsrfProtectedServiceAsync Async peer ofXsrfProtectedService
.XsrfTokenService XSRF token generation RPC service.XsrfTokenServiceAsync Async peer ofXsrfTokenService
. -
Class Summary Class Description CustomFieldSerializer<T> An interface that may be implemented by class-based custom field serializers which will reduce the amount of server-side reflection during serialization, hence improving their serialization performance.RpcRequestBuilder This class encapsulates the logic necessary to configure a RequestBuilder for use with an RPC proxy object.XsrfToken XSRF token. -
Exception Summary Exception Description IncompatibleRemoteServiceException Exception that will be passed to theAsyncCallback.onFailure(Throwable)
method when an incompatibility is detected between aRemoteService
client and its correspondingRemoteService
server.InvocationException Occurs when a service invocation did not complete cleanly.RpcTokenException Exception that will be passed to theRpcTokenExceptionHandler.onRpcTokenException(RpcTokenException)
method when RPC token processing resulted in an error.SerializableException Deprecated. As of GWT 1.5,Exception
implementsSerializable
and can be used in place of this classSerializationException Base exception type for errors relating to the serialization stream.SerializedTypeViolationException Exception that will be passed to theAsyncCallback.onFailure(Throwable)
method when the value of an argument to a method in an RPC message is of the incorrect type.ServiceDefTarget.NoServiceEntryPointSpecifiedException This exception is thrown when a service is invoked withoutServiceDefTarget.setServiceEntryPoint(String)
having been called.StatusCodeException Indicates that an RPC response was returned with an invalid HTTP status code. -
Annotation Types Summary Annotation Type Description GwtTransient This annotation means the same thing as thetransient
keyword, but it is ignored by all serialization systems other than GWT's.RemoteServiceRelativePath Associates aRemoteService
with a relative path.RpcToken.RpcTokenImplementation RemoteService
interfaces specifyingRpcToken
implementation using this annotation will only have serializers for the specific class generated, as opposed to generating serializers for allRpcToken
implementations.