public enum QuicPacketType extends java.lang.Enum<QuicPacketType>
Enum Constant and Description |
---|
HANDSHAKE
Handshake packet.
|
INITIAL
Initial packet.
|
RETRY
Retry packet.
|
SHORT
1-RTT short header packet.
|
VERSION_NEGOTIATION
Version negotiation packet.
|
ZERO_RTT
0-RTT packet.
|
Modifier and Type | Method and Description |
---|---|
static QuicPacketType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QuicPacketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuicPacketType INITIAL
public static final QuicPacketType RETRY
public static final QuicPacketType HANDSHAKE
public static final QuicPacketType ZERO_RTT
public static final QuicPacketType SHORT
public static final QuicPacketType VERSION_NEGOTIATION
public static QuicPacketType[] values()
for (QuicPacketType c : QuicPacketType.values()) System.out.println(c);
public static QuicPacketType 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 © 2020-2023 The Netty Project. All Rights Reserved.