Class InProcessRequestFactory
java.lang.Object
com.google.web.bindery.requestfactory.shared.impl.IdFactory
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
com.google.web.bindery.requestfactory.vm.InProcessRequestFactory
- All Implemented Interfaces:
RequestFactory
class InProcessRequestFactory
extends com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
A JRE-compatible implementation of RequestFactory.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface(package private) class -
Field Summary
Fields inherited from interface com.google.web.bindery.requestfactory.shared.RequestFactory
JSON_CONTENT_TYPE_UTF8 -
Constructor Summary
ConstructorsConstructorDescriptionInProcessRequestFactory(Class<? extends RequestFactory> requestFactoryInterface) -
Method Summary
Modifier and TypeMethodDescriptionprotected AutoBeanFactoryImplementations of EntityProxies are provided by an AutoBeanFactory, which is itself a generated type.com.google.web.bindery.requestfactory.vm.impl.DeobfuscatorReturns a type token for the RequestFactory instance, which is used to seed operation and type token resolution on the server.getTypeFromToken(String typeToken) protected StringgetTypeToken(Class<? extends BaseProxy> clazz) voidinitialize(EventBus eventBus) The choice of a default request transport is runtime-specific.booleanisEntityType(Class<?> clazz) booleanisValueType(Class<?> clazz) Methods inherited from class com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
find, getEventBus, getHistoryToken, getHistoryToken, getProxyClass, getProxyId, getRequestTransport, getSerializer, hasVersionChanged, initializeMethods inherited from class com.google.web.bindery.requestfactory.shared.impl.IdFactory
allocateId, allocateSyntheticId, asEntityProxy, asValueProxy, getBaseProxyId, getHistoryToken, getId, getId, getId
-
Constructor Details
-
InProcessRequestFactory
-
-
Method Details
-
getDeobfuscator
public com.google.web.bindery.requestfactory.vm.impl.Deobfuscator getDeobfuscator() -
getFactoryTypeToken
Description copied from class:com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactoryReturns a type token for the RequestFactory instance, which is used to seed operation and type token resolution on the server.- Specified by:
getFactoryTypeTokenin classcom.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
-
isEntityType
- Specified by:
isEntityTypein classcom.google.web.bindery.requestfactory.shared.impl.IdFactory
-
isValueType
- Specified by:
isValueTypein classcom.google.web.bindery.requestfactory.shared.impl.IdFactory
-
getAutoBeanFactory
Description copied from class:com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactoryImplementations of EntityProxies are provided by an AutoBeanFactory, which is itself a generated type. This method knows about all proxy types used in the RequestFactory interface, which prevents pruning of any proxy type. If theAbstractRequestFactory.find(EntityProxyId)andAbstractRequestFactory.getSerializer(ProxyStore)were provided byAbstractRequestContext, this method could be removed.- Specified by:
getAutoBeanFactoryin classcom.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
-
getTypeFromToken
- Specified by:
getTypeFromTokenin classcom.google.web.bindery.requestfactory.shared.impl.IdFactory
-
getTypeToken
- Specified by:
getTypeTokenin classcom.google.web.bindery.requestfactory.shared.impl.IdFactory
-