public static enum TyrusFrame.FrameType extends java.lang.Enum<TyrusFrame.FrameType>
| Enum Constant and Description |
|---|
BINARY
Binary frame.
|
BINARY_CONTINUATION
Continuation binary frame.
|
CLOSE
Close frame.
|
PING
Ping frame.
|
PONG
Pong frame.
|
TEXT
Text frame.
|
TEXT_CONTINUATION
Continuation text frame.
|
| Modifier and Type | Method and Description |
|---|---|
static TyrusFrame.FrameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TyrusFrame.FrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TyrusFrame.FrameType TEXT
TextFramepublic static final TyrusFrame.FrameType TEXT_CONTINUATION
TextFramepublic static final TyrusFrame.FrameType BINARY
BinaryFramepublic static final TyrusFrame.FrameType BINARY_CONTINUATION
BinaryFramepublic static final TyrusFrame.FrameType PING
PingFramepublic static final TyrusFrame.FrameType PONG
PongFramepublic static final TyrusFrame.FrameType CLOSE
CloseFramepublic static TyrusFrame.FrameType[] values()
for (TyrusFrame.FrameType c : TyrusFrame.FrameType.values()) System.out.println(c);
public static TyrusFrame.FrameType 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.