com.google.gwt.user.client.rpc.impl
Enum RequestCallbackAdapter.ResponseReader
java.lang.Object
java.lang.Enum<RequestCallbackAdapter.ResponseReader>
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.ResponseReader
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RequestCallbackAdapter.ResponseReader>
- Enclosing class:
- RequestCallbackAdapter<T>
public static enum RequestCallbackAdapter.ResponseReader
- extends java.lang.Enum<RequestCallbackAdapter.ResponseReader>
Enumeration used to read specific return types out of a
SerializationStreamReader.
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BOOLEAN
public static final RequestCallbackAdapter.ResponseReader BOOLEAN
BYTE
public static final RequestCallbackAdapter.ResponseReader BYTE
CHAR
public static final RequestCallbackAdapter.ResponseReader CHAR
DOUBLE
public static final RequestCallbackAdapter.ResponseReader DOUBLE
FLOAT
public static final RequestCallbackAdapter.ResponseReader FLOAT
INT
public static final RequestCallbackAdapter.ResponseReader INT
LONG
public static final RequestCallbackAdapter.ResponseReader LONG
OBJECT
public static final RequestCallbackAdapter.ResponseReader OBJECT
SHORT
public static final RequestCallbackAdapter.ResponseReader SHORT
STRING
public static final RequestCallbackAdapter.ResponseReader STRING
VOID
public static final RequestCallbackAdapter.ResponseReader VOID
values
public static RequestCallbackAdapter.ResponseReader[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RequestCallbackAdapter.ResponseReader c : RequestCallbackAdapter.ResponseReader.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RequestCallbackAdapter.ResponseReader valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
read
public abstract java.lang.Object read(SerializationStreamReader streamReader)
throws SerializationException
- Throws:
SerializationException