Package com.google.web.bindery.requestfactory.shared
package com.google.web.bindery.requestfactory.shared
Shared classes used on both the client and the server side for transmitting
data between the server and the client in JSON format.
- Since:
- GWT 2.1
-
ClassDescriptionThe root type from which all client-side proxy objects are derived.An in-memory ProxyStore store that can encode its state as a JSON object literal.A proxy for a server-side domain object.EntityProxyChange<P extends EntityProxy>Event posted by a
RequestFactory
when changes to an entity are detected.EntityProxyChange.Handler<P extends EntityProxy>Implemented by methods that handle EntityProxyChange events.EntityProxyId<P extends EntityProxy>A stable, opaque id of anEntityProxy
that remains stable across updates, creates, deletes on the client.This annotation can be applied toEntityProxy
,ValueProxy
,RequestContext
, andRequestFactory
type declarations to include additional polymorphic proxy types that are not explicitly referenced.A FanoutReceiver will forward its callbacks to zero or more other Receivers.Used to call instance methods.Experimental API, subject to change. Applied to a Request method declaration to indicate that a particular parameter is used as therequest
portion of the JSON-RPC request.Experimental API, subject to change Used instead of theProxyFor
annotation.Experimental API, subject to change Indicates that a RequestContext should be encoded as a JSON-RPC request.Experimental API, subject to change Provides the method name for a JSON-RPC invocation.Locator<T,I> A Locator allows entity types that do not conform to the RequestFactory entity protocol to be used."API Generated" request selector interface implemented by objects that give client access to the methods ofLogging
.Annotation on EntityProxy and ValueProxy classes specifying the domain (server-side) object type.Annotation on EntityProxy classes specifying the domain (server-side) object type.Serializes graphs of EntityProxy objects.A ProxyStore provides aProxySerializer
with access to a low-level persistence mechanism.Receiver<V>Callback object forRequest.fire(Receiver)
andRequestContext.fire(Receiver)
.Request<T>A Request represents a single method invocation on the server.The base interface for RequestFactory service endpoints.Marker interface for the RequestFactory code generator.Abstracts the mechanism by which a RequestFactory instance transmits its payload to the backend.A callback interface.Describes a request failure on the server.Annotation on Request classes specifying the server-side implementations that back them.A ServiceLocator provides instances of a type specified by aService
whenRequest
methods declared in aRequestContext
are mapped onto instance (non-static) methods.Annotation on Request classes specifying the server-side implementations that back them.This annotation can be used in place ofService
if the service type is not available to the GWT compiler or DevMode runtime.Annotation on methods ofRequestContext
,EntityProxy
, orValueProxy
interfaces so that theinvalid reference
RequestFactoryInterfaceValidator
ValueLocator<T>ALocator
for use with value types (as opposed to entities), which are not persisted.An analog to EntityProxy for domain types that do not have an identity concept.Deprecated.The values returned byEntityProxyChange.getWriteOperation()
to describe the type of change being announced.
ConstraintViolation
type by switching theirReceiver
implementations to useReceiver.onConstraintViolation(java.util.Set)
instead ofReceiver.onViolation(java.util.Set)
.