public enum WebSocketDataType extends Enum<WebSocketDataType>
| Enum Constant and Description |
|---|
BINARY
binary data (byte array)
|
BOOLEAN
boolean (true/false)
|
BYTE
8 bit byte
|
DATE
date without time
|
DOUBLE
double precision float
|
FLOAT
normal precision float
|
INTEGER
32 bit integer
|
INVALID
Invalid data type
|
LIST
list of objects (only WebSocketDataTypes allowed)
|
LONG
64 long integer
|
MAP
map of objects (only WebSocketDataTypes allowed)
|
TEXT
UTF formatted text
|
TIME
time with outdate
|
TIMESTAMP
date and date
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDataType() |
static WebSocketDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketDataType INVALID
public static final WebSocketDataType TEXT
public static final WebSocketDataType BINARY
public static final WebSocketDataType INTEGER
public static final WebSocketDataType BYTE
public static final WebSocketDataType LONG
public static final WebSocketDataType FLOAT
public static final WebSocketDataType DOUBLE
public static final WebSocketDataType DATE
public static final WebSocketDataType TIME
public static final WebSocketDataType TIMESTAMP
public static final WebSocketDataType BOOLEAN
public static final WebSocketDataType LIST
public static final WebSocketDataType MAP
public static WebSocketDataType[] values()
for (WebSocketDataType c : WebSocketDataType.values()) System.out.println(c);
public static WebSocketDataType 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 int getDataType()
Copyright © 2013. All Rights Reserved.