class InProcessRequestFactory
extends com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
InProcessRequestFactory.Factory |
(package private) class |
InProcessRequestFactory.RequestFactoryHandler |
JSON_CONTENT_TYPE_UTF8
Constructor and Description |
---|
InProcessRequestFactory(java.lang.Class<? extends RequestFactory> requestFactoryInterface) |
Modifier and Type | Method and Description |
---|---|
protected AutoBeanFactory |
getAutoBeanFactory()
Implementations of EntityProxies are provided by an AutoBeanFactory, which
is itself a generated type.
|
com.google.web.bindery.requestfactory.vm.impl.Deobfuscator |
getDeobfuscator() |
java.lang.String |
getFactoryTypeToken()
Returns a type token for the RequestFactory instance, which is used to seed
operation and type token resolution on the server.
|
protected <P extends BaseProxy> |
getTypeFromToken(java.lang.String typeToken) |
protected java.lang.String |
getTypeToken(java.lang.Class<? extends BaseProxy> clazz) |
void |
initialize(EventBus eventBus)
The choice of a default request transport is runtime-specific.
|
boolean |
isEntityType(java.lang.Class<?> clazz) |
boolean |
isValueType(java.lang.Class<?> clazz) |
find, getEventBus, getHistoryToken, getHistoryToken, getProxyClass, getProxyId, getRequestTransport, getSerializer, hasVersionChanged, initialize
public InProcessRequestFactory(java.lang.Class<? extends RequestFactory> requestFactoryInterface)
public com.google.web.bindery.requestfactory.vm.impl.Deobfuscator getDeobfuscator()
public java.lang.String getFactoryTypeToken()
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
getFactoryTypeToken
in class com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
public void initialize(EventBus eventBus)
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
initialize
in interface RequestFactory
initialize
in class com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
eventBus
- an EventBus
public boolean isEntityType(java.lang.Class<?> clazz)
isEntityType
in class com.google.web.bindery.requestfactory.shared.impl.IdFactory
public boolean isValueType(java.lang.Class<?> clazz)
isValueType
in class com.google.web.bindery.requestfactory.shared.impl.IdFactory
protected AutoBeanFactory getAutoBeanFactory()
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
AbstractRequestFactory.find(EntityProxyId)
and AbstractRequestFactory.getSerializer(ProxyStore)
were provided by AbstractRequestContext
, this method could be
removed.getAutoBeanFactory
in class com.google.web.bindery.requestfactory.shared.impl.AbstractRequestFactory
protected <P extends BaseProxy> java.lang.Class<P> getTypeFromToken(java.lang.String typeToken)
getTypeFromToken
in class com.google.web.bindery.requestfactory.shared.impl.IdFactory
protected java.lang.String getTypeToken(java.lang.Class<? extends BaseProxy> clazz)
getTypeToken
in class com.google.web.bindery.requestfactory.shared.impl.IdFactory