java.lang.Object | |
↳ | com.google.gwt.rpc.server.ClientOracle |
Known Direct Subclasses |
Encapsulates information about a remote client. This type is not intended to
be implemented by end-users although the behavior of a concrete
implementation may be modified via the DelegatingClientOracle
type.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a CommandSink that can encode a payload for the client.
| |||||||||||
Returns an identifier that does not conflict with any symbols defined in
the client.
| |||||||||||
Returns the Json castableType data for a given type.
| |||||||||||
Given a base type and the unobfuscated field name, find the obfuscated name
for the field in the client.
| |||||||||||
Return the field name for a given enum value.
| |||||||||||
This is similar to
getFieldId(Class, String) but does not search
supertypes. | |||||||||||
Return the name of a field from a client-side id.
| |||||||||||
This is similar to #getMethodId(Class, String, Class...) but does
not search supertypes.
| |||||||||||
Returns the name of the top-level function which implements the named
method that takes the exact arguments specified.
| |||||||||||
Returns the fields of a given class that should be serialized.
| |||||||||||
Returns the assigned castability queryId of a given type.
| |||||||||||
Returns the name of the top-level function that is used as the seed
function for a given type.
| |||||||||||
Returns the deobfuscated name of a type based on the name of the type's
seed function.
| |||||||||||
Indicates whether or not the remote client is running as compiled script.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a CommandSink that can encode a payload for the client.
out | the OutputStream to which the output will be written |
---|
IOException | if the CommandSink cannot write to the OutputStream |
---|
Returns an identifier that does not conflict with any symbols defined in the client. This method does not accumulate any state.
Returns the Json castableType data for a given type.
Given a base type and the unobfuscated field name, find the obfuscated name for the field in the client. This will search superclasses as well for the first matching field.
This is similar to getFieldId(Class, String)
but does not search
supertypes. It is intended to be used to access "magic" GWT types.
Return the name of a field from a client-side id. This will search superclasses for the first instance of the named field.
This is similar to #getMethodId(Class, String, Class...) but does not search supertypes. It is intended to be used to access "magic" GWT types.
Returns the name of the top-level function which implements the named method that takes the exact arguments specified. This will search in the given class as well as its supertypes.
Returns the fields of a given class that should be serialized. This method does not crawl supertypes.
Returns the assigned castability queryId of a given type.
Returns the name of the top-level function that is used as the seed function for a given type.
Returns the deobfuscated name of a type based on the name of the type's seed function.
Indicates whether or not the remote client is running as compiled script. This may be used to optimize the payload based on assumptions that can be mode about web-mode or hosted-mode clients.