Package | Description |
---|---|
com.google.web.bindery.requestfactory.gwt.client |
A package for managing client-server requests.
|
com.google.web.bindery.requestfactory.gwt.client.impl | |
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 |
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 | Field and Description |
---|---|
protected RequestContext |
RequestFactoryEditorDelegate.request |
Modifier and Type | Method and Description |
---|---|
RequestContext |
AbstractRequestFactoryEditorDriver.flush() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRequestFactoryEditorDriver.edit(R object,
RequestContext saveRequest) |
void |
RequestFactoryEditorDelegate.setRequestContext(RequestContext request) |
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 |
---|---|
Class<? extends RequestContext> |
ServiceLayerDecorator.resolveRequestContext(String operation) |
abstract Class<? extends RequestContext> |
ServiceLayer.resolveRequestContext(String operation)
Find a RequestContext that should be used to fulfill the requested
operation.
|
Class<? extends RequestContext> |
FindServiceLayer.resolveRequestContext(String operation) |
Modifier and Type | Method and Description |
---|---|
Object |
ServiceLayerDecorator.createServiceInstance(Class<? extends RequestContext> requestContext) |
abstract Object |
ServiceLayer.createServiceInstance(Class<? extends RequestContext> requestContext)
Create an instance of a service object that can be used as the target for
the given method invocation.
|
Class<?> |
ServiceLayerDecorator.resolveServiceClass(Class<? extends RequestContext> requestContextClass) |
abstract Class<?> |
ServiceLayer.resolveServiceClass(Class<? extends RequestContext> requestContextClass)
Given a
RequestContext method, find the service class referenced in
the Service or
ServiceName annotation. |
Class<? extends ServiceLocator> |
ServiceLayerDecorator.resolveServiceLocator(Class<? extends RequestContext> requestContext) |
abstract Class<? extends ServiceLocator> |
ServiceLayer.resolveServiceLocator(Class<? extends RequestContext> requestContext)
Given a RequestContext method declaration, resolve the
ServiceLocator that should be used when invoking the domain method. |
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 | Interface and Description |
---|---|
interface |
FindRequest
Request selector interface for implementing a find method.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRequestContext
Base implementations for RequestContext services.
|
Modifier and Type | Method and Description |
---|---|
<T extends RequestContext> |
AbstractRequestContext.append(T other) |
Modifier and Type | Method and Description |
---|---|
RequestContext |
AbstractRequest.getRequestContext() |
RequestContext |
AbstractRequest.to(Receiver<? super T> receiver) |
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 . |
Copyright © 2016. All rights reserved.