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 |
Modifier and Type | Method and Description |
---|---|
C |
RequestBatcher.get(Receiver<java.lang.Void> receiver)
Returns a mutable
RequestContext and enqueues the given receiver to
be called as though it had been passed directly to
RequestContext.fire(Receiver) . |
Modifier and Type | Class and Description |
---|---|
class |
FanoutReceiver<T>
A FanoutReceiver will forward its callbacks to zero or more other Receivers.
|
Modifier and Type | Method and 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 calling
to(...).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.
|
Modifier and Type | Method and 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)
Returns
null . |