|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.web.bindery.requestfactory.server.RequestState
class RequestState
Encapsulates all state relating to the processing of a single request so that the SimpleRequestProcessor can be stateless.
| Field Summary | |
|---|---|
(package private) SimpleRequestProcessor.IdToEntityMap |
beans
|
| Constructor Summary | |
|---|---|
RequestState(RequestState parent)
|
|
RequestState(ServiceLayer service)
|
|
| Method Summary | ||
|---|---|---|
Splittable |
flatten(java.lang.Object domainValue)
Turn a domain value into a wire format message. |
|
|
getBeanForPayload(com.google.web.bindery.requestfactory.shared.impl.SimpleProxyId<Q> id,
java.lang.Object domainObject)
Get or create a BaseProxy AutoBean for the given id. |
|
|
getBeanForPayload(Splittable serializedProxyId)
EntityCodex support. |
|
java.util.List<AutoBean<? extends BaseProxy>> |
getBeansForPayload(java.util.List<? extends IdMessage> idMessages)
Get or create BaseProxy AutoBeans for a list of id-bearing messages. |
|
com.google.web.bindery.requestfactory.shared.impl.IdFactory |
getIdFactory()
|
|
Resolver |
getResolver()
|
|
Splittable |
getSerializedProxyId(com.google.web.bindery.requestfactory.shared.impl.SimpleProxyId<?> stableId)
EntityCodex support. |
|
ServiceLayer |
getServiceLayer()
|
|
com.google.web.bindery.requestfactory.shared.impl.SimpleProxyId<?> |
getStableId(java.lang.Object domain)
If the given domain object has been previously associated with an id, return it. |
|
boolean |
isEntityType(java.lang.Class<?> clazz)
EntityCodex support. |
|
boolean |
isValueType(java.lang.Class<?> clazz)
EntityCodex support. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final SimpleRequestProcessor.IdToEntityMap beans
| Constructor Detail |
|---|
public RequestState(RequestState parent)
public RequestState(ServiceLayer service)
| Method Detail |
|---|
public Splittable flatten(java.lang.Object domainValue)
public <Q extends BaseProxy> AutoBean<Q> getBeanForPayload(com.google.web.bindery.requestfactory.shared.impl.SimpleProxyId<Q> id,
java.lang.Object domainObject)
public <Q extends BaseProxy> AutoBean<Q> getBeanForPayload(Splittable serializedProxyId)
getBeanForPayload in interface com.google.web.bindery.requestfactory.shared.impl.EntityCodex.EntitySourcepublic java.util.List<AutoBean<? extends BaseProxy>> getBeansForPayload(java.util.List<? extends IdMessage> idMessages)
public com.google.web.bindery.requestfactory.shared.impl.IdFactory getIdFactory()
public Resolver getResolver()
public Splittable getSerializedProxyId(com.google.web.bindery.requestfactory.shared.impl.SimpleProxyId<?> stableId)
IdFactory.getHistoryToken(SimpleProxyId) except that it
base64-encodes the server ids and adds client ids for stable ids
that were ephemeral.
XXX: Merge this with AbstsractRequestContext's implementation
getSerializedProxyId in interface com.google.web.bindery.requestfactory.shared.impl.EntityCodex.EntitySourcepublic ServiceLayer getServiceLayer()
public com.google.web.bindery.requestfactory.shared.impl.SimpleProxyId<?> getStableId(java.lang.Object domain)
public boolean isEntityType(java.lang.Class<?> clazz)
isEntityType in interface com.google.web.bindery.requestfactory.shared.impl.EntityCodex.EntitySourcepublic boolean isValueType(java.lang.Class<?> clazz)
isValueType in interface com.google.web.bindery.requestfactory.shared.impl.EntityCodex.EntitySource
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||