public static enum WriterInfo.MessageType extends java.lang.Enum<WriterInfo.MessageType>
| Enum Constant and Description |
|---|
BINARY
Binary type.
|
BINARY_CONTINUATION
Continuation binary type.
|
CLOSE
Close type.
|
OBJECT
Object type.
|
PING
Ping type.
|
PONG
Pong type.
|
TEXT
Text type.
|
TEXT_CONTINUATION
Continuation text type.
|
| Modifier and Type | Method and Description |
|---|---|
static WriterInfo.MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriterInfo.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriterInfo.MessageType TEXT
public static final WriterInfo.MessageType TEXT_CONTINUATION
public static final WriterInfo.MessageType BINARY
public static final WriterInfo.MessageType BINARY_CONTINUATION
public static final WriterInfo.MessageType OBJECT
public static final WriterInfo.MessageType PING
public static final WriterInfo.MessageType PONG
public static final WriterInfo.MessageType CLOSE
public static WriterInfo.MessageType[] values()
for (WriterInfo.MessageType c : WriterInfo.MessageType.values()) System.out.println(c);
public static WriterInfo.MessageType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2012–2020 Oracle Corporation. All rights reserved.