Package com.google.gwt.user.client.rpc
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.
-
ClassDescriptionThe primary interface a caller must implement to receive a response from a remote procedure call.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.This annotation means the same thing as the
transient
keyword, but it is ignored by all serialization systems other than GWT's.An interface implemented by client-side RPC proxy objects.Exception that will be passed to theAsyncCallback.onFailure(Throwable)
method when an incompatibility is detected between aRemoteService
client and its correspondingRemoteService
server.Occurs when a service invocation did not complete cleanly.Marker interface indicating that a type is intended to be used with aRemoteService
.Marker interface that RPC interfaces should extend.Associates aRemoteService
with a relative path.This class encapsulates the logic necessary to configure a RequestBuilder for use with an RPC proxy object.An interface for RPC token implementation objects included with each RPC call.RemoteService
interfaces specifyingRpcToken
implementation using this annotation will only have serializers for the specific class generated, as opposed to generating serializers for allRpcToken
implementations.Exception that will be passed to theRpcTokenExceptionHandler.onRpcTokenException(RpcTokenException)
method when RPC token processing resulted in an error.Handles an exception produced while processingRpcToken
.Deprecated.Base exception type for errors relating to the serialization stream.An interface for creatingSerializationStreamReader
s andSerializationStreamWriter
s.An interface for reading values from a stream.An interface for writing values into a stream.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.An interface implemented by client-side RPC proxy objects.This exception is thrown when a service is invoked withoutServiceDefTarget.setServiceEntryPoint(String)
having been called.Indicates that an RPC response was returned with an invalid HTTP status code.XSRF protected equivalent ofRemoteService
.Async peer ofXsrfProtectedService
.XSRF token.XSRF token generation RPC service.Async peer ofXsrfTokenService
.
Exception
implementsSerializable
and can be used in place of this class