public static enum RequestCallbackAdapter.ResponseReader extends Enum<RequestCallbackAdapter.ResponseReader>
SerializationStreamReader
.Enum Constant and Description |
---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
OBJECT |
SHORT |
STRING |
VOID |
Modifier and Type | Method and Description |
---|---|
abstract Object |
read(SerializationStreamReader streamReader) |
static RequestCallbackAdapter.ResponseReader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestCallbackAdapter.ResponseReader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestCallbackAdapter.ResponseReader BOOLEAN
public static final RequestCallbackAdapter.ResponseReader BYTE
public static final RequestCallbackAdapter.ResponseReader CHAR
public static final RequestCallbackAdapter.ResponseReader DOUBLE
public static final RequestCallbackAdapter.ResponseReader FLOAT
public static final RequestCallbackAdapter.ResponseReader INT
public static final RequestCallbackAdapter.ResponseReader LONG
public static final RequestCallbackAdapter.ResponseReader OBJECT
public static final RequestCallbackAdapter.ResponseReader SHORT
public static final RequestCallbackAdapter.ResponseReader STRING
public static final RequestCallbackAdapter.ResponseReader VOID
public static RequestCallbackAdapter.ResponseReader[] values()
for (RequestCallbackAdapter.ResponseReader c : RequestCallbackAdapter.ResponseReader.values()) System.out.println(c);
public static RequestCallbackAdapter.ResponseReader valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract Object read(SerializationStreamReader streamReader) throws SerializationException
SerializationException
Copyright © 2018. All rights reserved.