java.lang.Object | |
↳ | com.google.gwt.requestfactory.shared.DefaultProxyStore |
An in-memory ProxyStore store that can encode its state as a JSON object literal.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct an empty DefaultProxyStore.
| |||||||||||
Construct a DefaultProxyStore using the a value returned from
encode() . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return a JSON object literal with the contents of the store.
| |||||||||||
Called by
ProxySerializer to retrieve a value previously provided
to put(String, Splittable) . | |||||||||||
Returns a non-negative sequence number.
| |||||||||||
Called by
ProxySerializer to store a value. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface com.google.gwt.requestfactory.shared.ProxyStore |
Construct an empty DefaultProxyStore.
Construct a DefaultProxyStore using the a value returned from
encode()
.
payload | a String previously returned from encode() |
---|
IllegalArgumentException | if the payload cannot be parsed |
---|
Called by ProxySerializer
to retrieve a value previously provided
to put(String, Splittable)
.
key | the key |
---|
null
if key
is unknown
Returns a non-negative sequence number. The actual sequence of values returned by this method is unimportant, as long as the numbers in the sequence are unique.
Called by ProxySerializer
to store a value.
key | a key value that will be passed to get(String) |
---|---|
value | the data to store |