java.lang.Object | ||
↳ | com.google.gwt.rpc.server.ClientOracle | |
↳ | com.google.gwt.rpc.server.WebModeClientOracle |
Encapsulates data about the structure of the client code.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WebModeClientOracle.Builder | A Builder object to create ClientOracles. | ||||||||||
WebModeClientOracle.Triple<A, B, C> | A pair with extra data. |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Instances of WebModeClientOracle are created either through the
WebModeClientOracle.Builder class or via the load(InputStream) method. |
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.
| |||||||||||
This will search superclasses.
| |||||||||||
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.
| |||||||||||
Recreate a WebModeClientOracle based on the contents previously emitted by
store(OutputStream) . | |||||||||||
Write the state of the WebModeClientOracle into an OutputStream.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.rpc.server.ClientOracle
| |||||||||||
From class
java.lang.Object
|
Instances of WebModeClientOracle are created either through the
WebModeClientOracle.Builder
class or via the load(InputStream)
method.
Create a CommandSink that can encode a payload for the client.
out | the OutputStream to which the output will be written |
---|
IOException |
---|
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.
This will search superclasses.
Returns the fields of a given class that should be serialized. This method does not crawl supertypes.
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.
Recreate a WebModeClientOracle based on the contents previously emitted by
store(OutputStream)
. The underlying format should be considered opaque.
IOException |
---|
Write the state of the WebModeClientOracle into an OutputStream. The underlying format should be considered opaque.
IOException |
---|