java.lang.Object | ||
↳ | com.google.gwt.user.server.rpc.SerializationPolicy | |
↳ | com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy |
Standard implementation of a SerializationPolicy
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.gwt.user.server.rpc.impl.TypeNameObfuscator
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a
SerializationPolicy from several Map s. | |||||||||||
Constructs a
SerializationPolicy from several Map s. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the name of the class that should be instantiated based on an
obfuscated identifier.
| |||||||||||
Returns the field names of the given class known to the client for classes
that are expected to be enhanced on the server to have additional fields,
or null for classes that are not expected to be enhanced.
| |||||||||||
Returns the obfuscated identifier to be used to encode a class in the RPC
wire format.
| |||||||||||
Returns
true if the class' fields should be deserialized. | |||||||||||
Returns
true if the class' fields should be serialized. | |||||||||||
Validates that the specified class should be deserialized from a stream.
| |||||||||||
Validates that the specified class should be serialized into a stream.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.server.rpc.SerializationPolicy
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.user.server.rpc.impl.TypeNameObfuscator
|
Constructs a SerializationPolicy
from several Map
s.
Constructs a SerializationPolicy
from several Map
s.
Returns the name of the class that should be instantiated based on an obfuscated identifier.
id | the type id that was present in the RPC payload |
---|
forName(String)
,
to be instantiatedSerializationException |
---|
Returns the field names of the given class known to the client for classes that are expected to be enhanced on the server to have additional fields, or null for classes that are not expected to be enhanced.
clazz | the class to test |
---|
Returns the obfuscated identifier to be used to encode a class in the RPC wire format.
clazz | the class to be transmitted |
---|
SerializationException |
---|
Returns true
if the class' fields should be deserialized.
clazz | the class to test |
---|
true
if the class' fields should be deserialized
Returns true
if the class' fields should be serialized.
clazz | the class to test |
---|
true
if the class' fields should be serialized
Validates that the specified class should be deserialized from a stream.
clazz | the class to validate |
---|
SerializationException |
---|
Validates that the specified class should be serialized into a stream.
clazz | the class to validate |
---|
SerializationException |
---|