protected static class AbstractRequestContext.State extends Object
Modifier and Type | Field and Description |
---|---|
Set<AbstractRequestContext> |
appendedContexts
Supports the case where chained contexts are used and a response comes back from the server
with a proxy type not reachable from the canonical context.
|
AbstractRequestContext |
canonical |
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.DialectImpl |
dialect |
boolean |
diffing
See http://code.google.com/p/google-web-toolkit/issues/detail?id=5952.
|
Map<SimpleProxyId<?>,AutoBean<? extends BaseProxy>> |
editedProxies
A map of all EntityProxies that the RequestContext has interacted with.
|
FanoutReceiver<Void> |
fanout |
boolean |
fireDisabled
When
true the AbstractRequestContext.fire() method will be a no-op. |
List<AbstractRequest<?,?>> |
invocations |
boolean |
locked |
AbstractRequestFactory |
requestFactory |
Map<SimpleProxyId<?>,AutoBean<?>> |
returnedProxies
A map that contains the canonical instance of an entity to return in the return graph, since
this is built from scratch.
|
Map<Integer,SimpleProxyId<?>> |
syntheticIds
A map that allows us to handle the case where the server has sent back an unpersisted entity.
|
Constructor and Description |
---|
AbstractRequestContext.State(AbstractRequestFactory requestFactory,
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.DialectImpl dialect,
AbstractRequestContext canonical) |
Modifier and Type | Method and Description |
---|---|
void |
addContext(AbstractRequestContext ctx) |
AbstractRequestContext |
getCanonicalContext() |
boolean |
isClean() |
boolean |
isCompatible(AbstractRequestContext.State state) |
public Set<AbstractRequestContext> appendedContexts
public final AbstractRequestContext canonical
public final com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.DialectImpl dialect
public FanoutReceiver<Void> fanout
public boolean fireDisabled
true
the AbstractRequestContext.fire()
method will be a no-op.public final List<AbstractRequest<?,?>> invocations
public boolean locked
public boolean diffing
public final Map<SimpleProxyId<?>,AutoBean<? extends BaseProxy>> editedProxies
AbstractRequestContext.create(java.lang.Class<T>)
, passed into AbstractRequestContext.edit(T)
, or used as
an invocation argument.public final Map<SimpleProxyId<?>,AutoBean<?>> returnedProxies
public final AbstractRequestFactory requestFactory
public final Map<Integer,SimpleProxyId<?>> syntheticIds
public AbstractRequestContext.State(AbstractRequestFactory requestFactory, com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.DialectImpl dialect, AbstractRequestContext canonical)
public void addContext(AbstractRequestContext ctx)
public AbstractRequestContext getCanonicalContext()
public boolean isClean()
public boolean isCompatible(AbstractRequestContext.State state)
Copyright © 2016. All rights reserved.