java.lang.Object | |
↳ | com.google.gwt.user.server.rpc.SerializationPolicy |
Known Direct Subclasses |
This is an abstract class for representing the serialization policy for a
given module and
RemoteService
.
The serialize and deserialize queries are from the perspective
of the server, not the web browser.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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
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
java.lang.Object
|
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 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 | if the class is not allowed to be deserialized |
---|
Validates that the specified class should be serialized into a stream.
clazz | the class to validate |
---|
SerializationException | if the class is not allowed to be serialized |
---|