Uses of Class
com.google.web.bindery.requestfactory.shared.Receiver
-
Packages that use Receiver Package Description com.google.web.bindery.requestfactory.gwt.client A package for managing client-server requests.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.com.google.web.bindery.requestfactory.shared.testing -
-
Uses of Receiver in com.google.web.bindery.requestfactory.gwt.client
Methods in com.google.web.bindery.requestfactory.gwt.client with parameters of type Receiver Modifier and Type Method Description C
RequestBatcher. get(Receiver<java.lang.Void> receiver)
Returns a mutableRequestContext
and enqueues the given receiver to be called as though it had been passed directly toRequestContext.fire(Receiver)
. -
Uses of Receiver in com.google.web.bindery.requestfactory.shared
Subclasses of Receiver in com.google.web.bindery.requestfactory.shared Modifier and Type Class Description class
FanoutReceiver<T>
A FanoutReceiver will forward its callbacks to zero or more other Receivers.Methods in com.google.web.bindery.requestfactory.shared with parameters of type Receiver Modifier and Type Method Description void
FanoutReceiver. add(Receiver<? super T> receiver)
Register a receiver to be called by the fanout.void
Request. fire(Receiver<? super T> receiver)
Convenience method equivalent to callingto(...).fire()
.void
RequestContext. fire(Receiver<java.lang.Void> receiver)
For receiving errors or validation failures only.RequestContext
Request. to(Receiver<? super T> receiver)
Specify the object that will receive the result of the method invocation. -
Uses of Receiver in com.google.web.bindery.requestfactory.shared.testing
Methods in com.google.web.bindery.requestfactory.shared.testing with parameters of type Receiver Modifier and Type Method Description void
FakeRequest. fire(Receiver<? super T> receiver)
No-op.void
FakeRequestContext. fire(Receiver<java.lang.Void> receiver)
No-op.RequestContext
FakeRequest. to(Receiver<? super T> receiver)
Returnsnull
.
-