java.lang.Object | |||
↳ | com.google.gwt.user.client.rpc.impl.AbstractSerializationStream | ||
↳ | com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter | ||
↳ | com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter |
For internal use only. Used for server call serialization. This class is carefully matched with the client-side version.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ServerSerializationStreamWriter.LengthConstrainedArray | Builds a string that evaluates into an array containing the given elements. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.rpc.impl.AbstractSerializationStream
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method takes a string and outputs a JavaScript string literal.
| |||||||||||
Build an array of JavaScript string literals that can be decoded by the
client via the eval function.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Append a token to the underlying output buffer.
| |||||||||||
Compute and return the type signature for an object.
| |||||||||||
Serialize an object into the stream.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter
| |||||||||||
From class
com.google.gwt.user.client.rpc.impl.AbstractSerializationStream
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.user.client.rpc.SerializationStreamWriter
|
This method takes a string and outputs a JavaScript string literal. The data is surrounded with quotes, and any contained characters that need to be escaped are mapped onto their escape sequence. Assumptions: We are targeting a version of JavaScript that that is later than 1.3 that supports unicode strings.
Build an array of JavaScript string literals that can be decoded by the client via the eval function. NOTE: We build the array in reverse so the client can simply use the pop function to remove the next item from the list.
Append a token to the underlying output buffer.
token | the token to append |
---|
Compute and return the type signature for an object.
instance | the instance to inspect |
---|
SerializationException |
---|
Serialize an object into the stream.
instance | the object to serialize |
---|---|
typeSignature | the type signature of the object |
SerializationException |
---|