com.google.gwt.user.server.rpc.impl.TypeNameObfuscator |
Known Indirect Subclasses |
This is a private interface that allows ProxyCreator to provide obfuscated
type names to the server components via StandardSerializationPolicy
.
The particulars of the implementation are deeply tied to the specifics of the RPC wire format and the code generated by TypeSerializerCreator.
This interface is not public in order to allow the API to be switched from Strings to ints in a future revision.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | SERVICE_INTERFACE_ID | A reserved ID for specifying the identifier for the service interface itself. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the name of the class that should be instantiated based on an
obfuscated identifier.
| |||||||||||
Returns the obfuscated identifier to be used to encode a class in the RPC
wire format.
|
A reserved ID for specifying the identifier for the service interface itself.
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 | if there is no class that corresponds to the obfuscated id |
---|
Returns the obfuscated identifier to be used to encode a class in the RPC wire format.
clazz | the class to be transmitted |
---|
SerializationException |
---|