protected static enum FrameBuilderRfc6455.PayloadLengthType extends Enum<FrameBuilderRfc6455.PayloadLengthType>
| 限定符和类型 | 方法和说明 |
|---|---|
byte |
byteValue()
Byte value.
|
int |
offset()
Offset.
|
static FrameBuilderRfc6455.PayloadLengthType |
valueOf(byte plt)
Value of.
|
static FrameBuilderRfc6455.PayloadLengthType |
valueOf(long payloadLength)
Value of.
|
static FrameBuilderRfc6455.PayloadLengthType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static FrameBuilderRfc6455.PayloadLengthType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final FrameBuilderRfc6455.PayloadLengthType LEN_SHORT
public static final FrameBuilderRfc6455.PayloadLengthType LEN_16
public static final FrameBuilderRfc6455.PayloadLengthType LEN_63
public static FrameBuilderRfc6455.PayloadLengthType[] values()
for (FrameBuilderRfc6455.PayloadLengthType c : FrameBuilderRfc6455.PayloadLengthType.values()) System.out.println(c);
public static FrameBuilderRfc6455.PayloadLengthType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public byte byteValue()
public int offset()
public static FrameBuilderRfc6455.PayloadLengthType valueOf(byte plt)
plt - the pltpublic static FrameBuilderRfc6455.PayloadLengthType valueOf(long payloadLength)
payloadLength - the payload lengthCopyright © 2020. All rights reserved.