Uses of Interface
com.google.web.bindery.requestfactory.shared.RequestContext
-
Packages that use RequestContext 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. -
-
Uses of RequestContext in com.google.web.bindery.requestfactory.gwt.client
Classes in com.google.web.bindery.requestfactory.gwt.client with type parameters of type RequestContext Modifier and Type Class 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.Methods in com.google.web.bindery.requestfactory.gwt.client that return RequestContext Modifier and Type Method Description RequestContext
RequestFactoryEditorDriver. flush()
Update the object being edited with the current state of the Editor.Methods in com.google.web.bindery.requestfactory.gwt.client with parameters of type RequestContext Modifier and Type Method Description void
RequestFactoryEditorDriver. edit(P proxy, RequestContext request)
Start driving the Editor and its sub-editors with data.void
HasRequestContext. setRequestContext(RequestContext ctx)
Called byRequestFactoryEditorDriver
with theRequestContext
passed intoedit()
ornull
ifdisplay()
is called. -
Uses of RequestContext in com.google.web.bindery.requestfactory.gwt.client.testing
Methods in com.google.web.bindery.requestfactory.gwt.client.testing that return RequestContext Modifier and Type Method Description RequestContext
MockRequestFactoryEditorDriver. flush()
Returnsnull
or the last value recorded.RequestContext
MockRequestFactoryEditorDriver. getSaveRequest()
Returnsnull
or the last value recorded.Methods in com.google.web.bindery.requestfactory.gwt.client.testing with parameters of type RequestContext Modifier and Type Method Description void
MockRequestFactoryEditorDriver. edit(P proxy, RequestContext saveRequest)
Records its arguments. -
Uses of RequestContext in com.google.web.bindery.requestfactory.server
Methods in com.google.web.bindery.requestfactory.server that return types with arguments of type RequestContext Modifier and Type Method Description java.lang.Class<? extends RequestContext>
FindServiceLayer. resolveRequestContext(java.lang.String operation)
java.lang.Class<? extends RequestContext>
ResolverServiceLayer. 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>
ServiceLayerCache. resolveRequestContext(java.lang.String operation)
java.lang.Class<? extends RequestContext>
ServiceLayerDecorator. resolveRequestContext(java.lang.String operation)
Method parameters in com.google.web.bindery.requestfactory.server with type arguments of type RequestContext Modifier and Type Method Description java.lang.Object
LocatorServiceLayer. 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
ServiceLayerCache. createServiceInstance(java.lang.Class<? extends RequestContext> requestContext)
java.lang.Object
ServiceLayerDecorator. createServiceInstance(java.lang.Class<? extends RequestContext> requestContext)
java.lang.Class<?>
ResolverServiceLayer. resolveServiceClass(java.lang.Class<? extends RequestContext> requestContextClass)
abstract java.lang.Class<?>
ServiceLayer. resolveServiceClass(java.lang.Class<? extends RequestContext> requestContextClass)
Given aRequestContext
method, find the service class referenced in theService
orServiceName
annotation.java.lang.Class<?>
ServiceLayerCache. resolveServiceClass(java.lang.Class<? extends RequestContext> requestContextClass)
java.lang.Class<?>
ServiceLayerDecorator. resolveServiceClass(java.lang.Class<? extends RequestContext> requestContextClass)
java.lang.Class<? extends ServiceLocator>
LocatorServiceLayer. 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 theServiceLocator
that should be used when invoking the domain method.java.lang.Class<? extends ServiceLocator>
ServiceLayerCache. resolveServiceLocator(java.lang.Class<? extends RequestContext> requestContext)
java.lang.Class<? extends ServiceLocator>
ServiceLayerDecorator. resolveServiceLocator(java.lang.Class<? extends RequestContext> requestContext)
-
Uses of RequestContext in com.google.web.bindery.requestfactory.shared
Subinterfaces of RequestContext in com.google.web.bindery.requestfactory.shared Modifier and Type Interface Description interface
LoggingRequest
"API Generated" request selector interface implemented by objects that give client access to the methods ofLogging
.Methods in com.google.web.bindery.requestfactory.shared with type parameters of type RequestContext Modifier and Type Method Description <T extends RequestContext>
TRequestContext. append(T other)
Joins another RequestContext to this RequestContext.Methods in com.google.web.bindery.requestfactory.shared that return RequestContext Modifier and Type Method Description RequestContext
Request. getRequestContext()
Returns the RequestContext associated with the Request.RequestContext
ServerFailure. getRequestContext()
Returns the RequestContext that triggered the ServerFailure.RequestContext
Request. to(Receiver<? super T> receiver)
Specify the object that will receive the result of the method invocation.Methods in com.google.web.bindery.requestfactory.shared with parameters of type RequestContext Modifier and Type Method Description void
ServerFailure. setRequestContext(RequestContext requestContext)
Sets the RequestContext to return viaServerFailure.getRequestContext()
. -
Uses of RequestContext in com.google.web.bindery.requestfactory.shared.impl
Classes in com.google.web.bindery.requestfactory.shared.impl with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw RequestContext Modifier and Type Class Description class
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext
Base implementations for RequestContext services. -
Uses of RequestContext in com.google.web.bindery.requestfactory.shared.testing
Classes in com.google.web.bindery.requestfactory.shared.testing that implement RequestContext Modifier and Type Class Description class
FakeRequestContext
A no-op implementation of RequestConext that can be used as a base type for writing unit tests.Methods in com.google.web.bindery.requestfactory.shared.testing with type parameters of type RequestContext Modifier and Type Method Description <T extends RequestContext>
TFakeRequestContext. append(T other)
Always returnsother
.Methods in com.google.web.bindery.requestfactory.shared.testing that return RequestContext Modifier and Type Method Description RequestContext
FakeRequest. getRequestContext()
Returnsnull
.RequestContext
FakeRequest. to(Receiver<? super T> receiver)
Returnsnull
. -
Uses of RequestContext in com.google.web.bindery.requestfactory.vm
Classes in com.google.web.bindery.requestfactory.vm that implement RequestContext Modifier and Type Class Description (package private) class
InProcessRequestContext
An in-process implementation of RequestContext.Methods in com.google.web.bindery.requestfactory.vm with type parameters of type RequestContext Modifier and Type Method Description <T extends RequestContext>
TInProcessRequestContext. append(T other)
Constructor parameters in com.google.web.bindery.requestfactory.vm with type arguments of type RequestContext Constructor Description InProcessRequestContext(InProcessRequestFactory factory, com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.Dialect dialect, java.lang.Class<? extends RequestContext> context)
-