public final class

HostedModeClientOracle

extends ClientOracle
java.lang.Object
   ↳ com.google.gwt.rpc.server.ClientOracle
     ↳ com.google.gwt.rpc.server.HostedModeClientOracle

Class Overview

A ClientOracle that is used for hosted-mode clients. This type only implements a limited subset of the ClientOracle functionality.

Summary

Public Constructors
HostedModeClientOracle()
Public Methods
CommandSink createCommandSink(OutputStream out)
Create a CommandSink that can encode a payload for the client.
String createUnusedIdent(String ident)
Unimplemented.
CastableTypeData getCastableTypeData(Class<?> clazz)
Returns the Json castableType data for a given type.
String getFieldId(Class<?> clazz, String fieldName)
Unimplemented.
String getFieldId(Enum<?> value)
Unimplemented.
String getFieldId(String className, String fieldName)
Unimplemented.
Pair<Class<?>, String> getFieldName(Class<?> clazz, String fieldId)
Return the name of a field from a client-side id.
String getMethodId(String className, String methodName, String... jsniArgTypes)
Unimplemented.
String getMethodId(Class<?> clazz, String methodName, Class...<?> args)
Unimplemented.
Field[] getOperableFields(Class<?> clazz)
Falls back to reflectively analyzing the provided class.
int getQueryId(Class<?> clazz)
Unimplemented.
String getSeedName(Class<?> clazz)
Unimplemented.
String getTypeName(String seedName)
Unimplemented.
boolean isScript()
Unimplemented.
[Expand]
Inherited Methods
From class com.google.gwt.rpc.server.ClientOracle
From class java.lang.Object

Public Constructors

public HostedModeClientOracle ()

Public Methods

public CommandSink createCommandSink (OutputStream out)

Create a CommandSink that can encode a payload for the client.

Parameters
out the OutputStream to which the output will be written
Returns
  • a CommandSink
Throws
IOException

public String createUnusedIdent (String ident)

Unimplemented.

public CastableTypeData getCastableTypeData (Class<?> clazz)

Returns the Json castableType data for a given type.

public String getFieldId (Class<?> clazz, String fieldName)

Unimplemented.

public String getFieldId (Enum<?> value)

Unimplemented.

public String getFieldId (String className, String fieldName)

Unimplemented.

public Pair<Class<?>, String> getFieldName (Class<?> clazz, String fieldId)

Return the name of a field from a client-side id. This will search superclasses for the first instance of the named field.

Returns
  • The field's declaring class and the name of the field

public String getMethodId (String className, String methodName, String... jsniArgTypes)

Unimplemented.

public String getMethodId (Class<?> clazz, String methodName, Class...<?> args)

Unimplemented.

public Field[] getOperableFields (Class<?> clazz)

Falls back to reflectively analyzing the provided class.

public int getQueryId (Class<?> clazz)

Unimplemented.

public String getSeedName (Class<?> clazz)

Unimplemented.

public String getTypeName (String seedName)

Unimplemented.

public boolean isScript ()

Unimplemented.