Package com.google.gwt.user.client.rpc
Interface SerializationStreamFactory
public interface SerializationStreamFactory
An interface for creating
SerializationStreamReader
s and
SerializationStreamWriter
s.-
Method Summary
Modifier and TypeMethodDescriptioncreateStreamReader
(String encoded) Creates aSerializationStreamReader
for the encoded string.Creates aSerializationStreamWriter
.
-
Method Details
-
createStreamReader
Creates aSerializationStreamReader
for the encoded string.- Parameters:
encoded
- an encoded serialization stream- Returns:
SerializationStreamReader
for the encoded string- Throws:
SerializationException
- if the encoded string is not a valid serialization stream
-
createStreamWriter
SerializationStreamWriter createStreamWriter()Creates aSerializationStreamWriter
.- Returns:
- a
SerializationStreamWriter
-