Uses of Interface
com.google.web.bindery.requestfactory.shared.RequestFactory
-
Packages that use RequestFactory 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 RequestFactory in com.google.web.bindery.requestfactory.gwt.client
Classes in com.google.web.bindery.requestfactory.gwt.client with type parameters of type RequestFactory 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 with parameters of type RequestFactory Modifier and Type Method Description void
RequestFactoryEditorDriver. initialize(EventBus eventBus, RequestFactory requestFactory, E editor)
Overload ofRequestFactoryEditorDriver.initialize(RequestFactory, Editor)
to allow a modifiedEventBus
to be monitored for subscription services.void
RequestFactoryEditorDriver. initialize(RequestFactory requestFactory, E editor)
Initializes a driver with the editor it will run, and a RequestFactory to use for subscription services. -
Uses of RequestFactory in com.google.web.bindery.requestfactory.gwt.client.testing
Methods in com.google.web.bindery.requestfactory.gwt.client.testing that return RequestFactory Modifier and Type Method Description RequestFactory
MockRequestFactoryEditorDriver. getRequestFactory()
Returnsnull
or the last value recorded.Methods in com.google.web.bindery.requestfactory.gwt.client.testing with parameters of type RequestFactory Modifier and Type Method Description void
MockRequestFactoryEditorDriver. initialize(EventBus eventBus, RequestFactory requestFactory, E editor)
Records its arguments.void
MockRequestFactoryEditorDriver. initialize(RequestFactory requestFactory, E editor)
-
Uses of RequestFactory in com.google.web.bindery.requestfactory.server
Methods in com.google.web.bindery.requestfactory.server that return types with arguments of type RequestFactory Modifier and Type Method Description java.lang.Class<? extends RequestFactory>
ResolverServiceLayer. resolveRequestFactory(java.lang.String binaryName)
abstract java.lang.Class<? extends RequestFactory>
ServiceLayer. resolveRequestFactory(java.lang.String token)
Loads and validates a RequestFactory interface.java.lang.Class<? extends RequestFactory>
ServiceLayerCache. resolveRequestFactory(java.lang.String binaryName)
java.lang.Class<? extends RequestFactory>
ServiceLayerDecorator. resolveRequestFactory(java.lang.String binaryName)
-
Uses of RequestFactory in com.google.web.bindery.requestfactory.shared
Methods in com.google.web.bindery.requestfactory.shared that return RequestFactory Modifier and Type Method Description RequestFactory
RequestContext. getRequestFactory()
Returns theRequestFactory
that created the RequestContext. -
Uses of RequestFactory 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 RequestFactory Modifier and Type Class Description class
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
Base type for generated RF interfaces. -
Uses of RequestFactory in com.google.web.bindery.requestfactory.shared.testing
Classes in com.google.web.bindery.requestfactory.shared.testing that implement RequestFactory Modifier and Type Class Description class
FakeRequestFactory
A no-op implementation ofRequestFactory
that can be used for building mocks.Methods in com.google.web.bindery.requestfactory.shared.testing that return RequestFactory Modifier and Type Method Description RequestFactory
FakeRequestContext. getRequestFactory()
Returnsnull
. -
Uses of RequestFactory in com.google.web.bindery.requestfactory.vm
Classes in com.google.web.bindery.requestfactory.vm that implement RequestFactory Modifier and Type Class Description (package private) class
InProcessRequestFactory
A JRE-compatible implementation of RequestFactory.Methods in com.google.web.bindery.requestfactory.vm with type parameters of type RequestFactory Modifier and Type Method Description static <T extends RequestFactory>
TRequestFactorySource. create(java.lang.Class<T> requestFactory)
Create an instance of a RequestFactory.Constructor parameters in com.google.web.bindery.requestfactory.vm with type arguments of type RequestFactory Constructor Description InProcessRequestFactory(java.lang.Class<? extends RequestFactory> requestFactoryInterface)
-