public static enum TyrusFrame.FrameType extends 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(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
TextFrame
public static final TyrusFrame.FrameType TEXT_CONTINUATION
TextFrame
public static final TyrusFrame.FrameType BINARY
BinaryFrame
public static final TyrusFrame.FrameType BINARY_CONTINUATION
BinaryFrame
public static final TyrusFrame.FrameType PING
PingFrame
public static final TyrusFrame.FrameType PONG
PongFrame
public static final TyrusFrame.FrameType CLOSE
CloseFrame
public static TyrusFrame.FrameType[] values()
for (TyrusFrame.FrameType c : TyrusFrame.FrameType.values()) System.out.println(c);
public static TyrusFrame.FrameType 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 nullCopyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.