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.impl | |
com.google.web.bindery.requestfactory.shared.testing |
Modifier and Type | Method and Description |
---|---|
C |
RequestBatcher.get(Receiver<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<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 |
---|---|
protected void |
AbstractRequestContext.fail(Receiver<Void> receiver,
ServerFailure failure)
Invoke the appropriate
onFailure callbacks, possibly throwing an
UmbrellaException if one or more callbacks fails. |
void |
AbstractRequest.fire(Receiver<? super T> receiver) |
void |
AbstractRequestContext.fire(Receiver<Void> receiver) |
RequestContext |
AbstractRequest.to(Receiver<? super T> receiver) |
protected void |
AbstractRequestContext.violation(Receiver<Void> receiver,
Set<javax.validation.ConstraintViolation<?>> errors)
Invoke the appropriate
onViolation callbacks, possibly throwing an
UmbrellaException if one or more callbacks fails. |
Modifier and Type | Method and Description |
---|---|
void |
FakeRequest.fire(Receiver<? super T> receiver)
No-op.
|
void |
FakeRequestContext.fire(Receiver<Void> receiver)
No-op.
|
RequestContext |
FakeRequest.to(Receiver<? super T> receiver)
Returns
null . |
Copyright © 2016. All rights reserved.