Package | Description |
---|---|
com.google.web.bindery.requestfactory.gwt.client |
A package for managing client-server requests.
|
com.google.web.bindery.requestfactory.gwt.client.testing |
Classes used for testing the request factory service.
|
com.google.web.bindery.requestfactory.server |
Server-side classes for mediating between the client-side and the persistent
datastore.
|
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 | |
com.google.web.bindery.requestfactory.vm |
Classes to use RequestFactory in a non-GWT (e.g., Android or desktop) JRE
environment.
|
Modifier and Type | Class and Description |
---|---|
class |
RequestBatcher<F extends RequestFactory,C extends RequestContext>
A RequestBatcher is a convenience class that allows RequestFactory operations
to be aggregated over a single tick of the event loop and sent as one HTTP
request.
|
Modifier and Type | Method and Description |
---|---|
RequestContext |
RequestFactoryEditorDriver.flush()
Update the object being edited with the current state of the Editor.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestFactoryEditorDriver.edit(P proxy,
RequestContext request)
Start driving the Editor and its sub-editors with data.
|
void |
HasRequestContext.setRequestContext(RequestContext ctx)
Called by
RequestFactoryEditorDriver with the
RequestContext passed into
edit() or
null if display() is called. |
Modifier and Type | Method and Description |
---|---|
RequestContext |
MockRequestFactoryEditorDriver.flush()
Returns
null or the last value recorded. |
RequestContext |
MockRequestFactoryEditorDriver.getSaveRequest()
Returns
null or the last value recorded. |
Modifier and Type | Method and Description |
---|---|
void |
MockRequestFactoryEditorDriver.edit(P proxy,
RequestContext saveRequest)
Records its arguments.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends RequestContext> |
ServiceLayerDecorator.resolveRequestContext(java.lang.String operation) |
java.lang.Class<? extends RequestContext> |
ServiceLayerCache.resolveRequestContext(java.lang.String operation) |
abstract java.lang.Class<? extends RequestContext> |
ServiceLayer.resolveRequestContext(java.lang.String operation)
Find a RequestContext that should be used to fulfill the requested
operation.
|
java.lang.Class<? extends RequestContext> |
ResolverServiceLayer.resolveRequestContext(java.lang.String operation) |
java.lang.Class<? extends RequestContext> |
FindServiceLayer.resolveRequestContext(java.lang.String operation) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ServiceLayerDecorator.createServiceInstance(java.lang.Class<? extends RequestContext> requestContext) |
java.lang.Object |
ServiceLayerCache.createServiceInstance(java.lang.Class<? extends RequestContext> requestContext) |
abstract java.lang.Object |
ServiceLayer.createServiceInstance(java.lang.Class<? extends RequestContext> requestContext)
Create an instance of a service object that can be used as the target for
the given method invocation.
|
java.lang.Object |
LocatorServiceLayer.createServiceInstance(java.lang.Class<? extends RequestContext> requestContext) |
java.lang.Class<?> |
ServiceLayerDecorator.resolveServiceClass(java.lang.Class<? extends RequestContext> requestContextClass) |
java.lang.Class<?> |
ServiceLayerCache.resolveServiceClass(java.lang.Class<? extends RequestContext> requestContextClass) |
abstract java.lang.Class<?> |
ServiceLayer.resolveServiceClass(java.lang.Class<? extends RequestContext> requestContextClass)
Given a
RequestContext method, find the service class referenced in
the Service or
ServiceName annotation. |
java.lang.Class<?> |
ResolverServiceLayer.resolveServiceClass(java.lang.Class<? extends RequestContext> requestContextClass) |
java.lang.Class<? extends ServiceLocator> |
ServiceLayerDecorator.resolveServiceLocator(java.lang.Class<? extends RequestContext> requestContext) |
java.lang.Class<? extends ServiceLocator> |
ServiceLayerCache.resolveServiceLocator(java.lang.Class<? extends RequestContext> requestContext) |
abstract java.lang.Class<? extends ServiceLocator> |
ServiceLayer.resolveServiceLocator(java.lang.Class<? extends RequestContext> requestContext)
Given a RequestContext method declaration, resolve the
ServiceLocator that should be used when invoking the domain method. |
java.lang.Class<? extends ServiceLocator> |
LocatorServiceLayer.resolveServiceLocator(java.lang.Class<? extends RequestContext> requestContext) |
Modifier and Type | Interface and Description |
---|---|
interface |
LoggingRequest
"API Generated" request selector interface implemented by objects that give
client access to the methods of
Logging . |
Modifier and Type | Method and Description |
---|---|
<T extends RequestContext> |
RequestContext.append(T other)
Joins another RequestContext to this RequestContext.
|
Modifier and Type | Method and Description |
---|---|
RequestContext |
ServerFailure.getRequestContext()
Returns the RequestContext that triggered the ServerFailure.
|
RequestContext |
Request.getRequestContext()
Returns the RequestContext associated with the Request.
|
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 |
ServerFailure.setRequestContext(RequestContext requestContext)
Sets the RequestContext to return via
ServerFailure.getRequestContext() . |
Modifier and Type | Class and Description |
---|---|
class |
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext
Base implementations for RequestContext services.
|
Modifier and Type | Class and Description |
---|---|
class |
FakeRequestContext
A no-op implementation of RequestConext that can be used as a base type for
writing unit tests.
|
Modifier and Type | Method and Description |
---|---|
<T extends RequestContext> |
FakeRequestContext.append(T other)
Always returns
other . |
Modifier and Type | Method and Description |
---|---|
RequestContext |
FakeRequest.getRequestContext()
Returns
null . |
RequestContext |
FakeRequest.to(Receiver<? super T> receiver)
Returns
null . |
Modifier and Type | Class and Description |
---|---|
(package private) class |
InProcessRequestContext
An in-process implementation of RequestContext.
|
Modifier and Type | Method and Description |
---|---|
<T extends RequestContext> |
InProcessRequestContext.append(T other) |
Constructor and Description |
---|
InProcessRequestContext(InProcessRequestFactory factory,
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.Dialect dialect,
java.lang.Class<? extends RequestContext> context) |