| Modifier and Type | Class and Description |
|---|---|
| public static enum | QuicPacket.
The Headers Type of the packet. |
| public static enum | QuicPacket.
The packet number space. |
| public static enum | QuicPacket.
The packet type for Quic packets. |
| Modifier and Type | Method and Description |
|---|---|
| public QuicConnectionId | Returns: the packet's Destination Connection IDReturns the packet's Destination Connection ID. |
| public default List | |
| public default boolean | Returns: whether this packet has a length.Whether this packet has a length field whose value can be read from the packet bytes. |
| public QuicPacket. | |
| public default boolean | Returns: true if this packet is ACK-elicitingReturns true if this packet is ACK-eliciting. |
| public default int | Returns: the length of the payload and packet number.Returns the length of the payload and packet number. |
| public QuicPacket. | |
| public default long | Returns: this packet's packet number, if applicable,-1L otherwiseReturns this packet's packet number, if applicable, |
| public QuicPacket. | |
| public default int | |
| public default String | |
| public int |
| destinationId | back to summary |
|---|---|
| public QuicConnectionId destinationId() Returns the packet's Destination Connection ID.
| |
| frames | back to summary |
|---|---|
| public default List Returns this packet's frames. | |
| hasLength | back to summary |
|---|---|
| public default boolean hasLength() Whether this packet has a length field whose value can be read from the packet bytes.
| |
| headersType | back to summary |
|---|---|
| public QuicPacket. This packet header's type. Either SHORT or LONG.
| |
| isAckEliciting | back to summary |
|---|---|
| public default boolean isAckEliciting() Returns true if this packet is ACK-eliciting. A packet is ACK-eliciting if it contains any ACK-eliciting frame.
| |
| length | back to summary |
|---|---|
| public default int length() Returns the length of the payload and packet number. Includes encryption tag.
This is the value stored in the
| |
| numberSpace | back to summary |
|---|---|
| public QuicPacket. Returns this packet's number space.
| |
| packetNumber | back to summary |
|---|---|
| public default long packetNumber() Returns this packet's packet number, if applicable,
| |
| packetType | back to summary |
|---|---|
| public QuicPacket. Returns this packet's type.
| |
| payloadSize | back to summary |
|---|---|
| public default int payloadSize() Returns the packet's payload size. This is the number of bytes needed to encode the packet's frames. | |
| prettyPrint | back to summary |
|---|---|
| public default String prettyPrint() | |
| size | back to summary |
|---|---|
| public int size() This packet size.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final QuicPacket. | |
| public static final QuicPacket. | |
| public static final QuicPacket. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static QuicPacket. | |
| public static QuicPacket. |
| LONG | back to summary |
|---|---|
| public static final QuicPacket. | |
| NONE | back to summary |
|---|---|
| public static final QuicPacket. | |
| SHORT | back to summary |
|---|---|
| public static final QuicPacket. | |
| HeadersType | back to summary |
|---|---|
| private HeadersType() | |
| valueOf | back to summary |
|---|---|
| public static QuicPacket. | |
| values | back to summary |
|---|---|
| public static QuicPacket. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final QuicPacket. | |
| public static final QuicPacket. | |
| public static final QuicPacket. | |
| public static final QuicPacket. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static QuicPacket. | Returns: the packet number space that corresponds to the given packet typea packet type packetTypeMaps a |
| public static QuicPacket. | Returns: the packet number space that corresponds to the given key space.a key space keySpaceMaps a |
| public static QuicPacket. | |
| public static QuicPacket. |
| APPLICATION | back to summary |
|---|---|
| public static final QuicPacket. | |
| HANDSHAKE | back to summary |
|---|---|
| public static final QuicPacket. | |
| INITIAL | back to summary |
|---|---|
| public static final QuicPacket. | |
| NONE | back to summary |
|---|---|
| public static final QuicPacket. | |
| PacketNumberSpace | back to summary |
|---|---|
| private PacketNumberSpace() | |
| of | back to summary |
|---|---|
| public static QuicPacket. Maps a
For
| |
| of | back to summary |
|---|---|
| public static QuicPacket. Maps a
For
| |
| valueOf | back to summary |
|---|---|
| public static QuicPacket. | |
| values | back to summary |
|---|---|
| public static QuicPacket. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final QuicPacket. | |
| public static final QuicPacket. | |
| public static final QuicPacket. | |
| public static final QuicPacket. | |
| public static final QuicPacket. | |
| public static final QuicPacket. | |
| public static final QuicPacket. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | Returns: true if packets of this type are short-header packetsReturns true if packets of this type are short-header packets. |
| public Optional | Returns: the QUIC-TLS key space corresponding to this packet typeReturns the QUIC-TLS key space corresponding to this packet type. |
| public static QuicPacket. | |
| public static QuicPacket. |
| HANDSHAKE | back to summary |
|---|---|
| public static final QuicPacket. | |
| INITIAL | back to summary |
|---|---|
| public static final QuicPacket. | |
| NONE | back to summary |
|---|---|
| public static final QuicPacket. | |
| ONERTT | back to summary |
|---|---|
| public static final QuicPacket. | |
| RETRY | back to summary |
|---|---|
| public static final QuicPacket. | |
| VERSIONS | back to summary |
|---|---|
| public static final QuicPacket. | |
| ZERORTT | back to summary |
|---|---|
| public static final QuicPacket. | |
| PacketType | back to summary |
|---|---|
| private PacketType() | |
| isLongHeaderType | back to summary |
|---|---|
| public boolean isLongHeaderType() | |
| isShortHeaderType | back to summary |
|---|---|
| public boolean isShortHeaderType() Returns true if packets of this type are short-header packets.
| |
| keySpace | back to summary |
|---|---|
| public Optional Returns the QUIC-TLS key space corresponding to this packet type.
Some packet types, such as
| |
| valueOf | back to summary |
|---|---|
| public static QuicPacket. | |
| values | back to summary |
|---|---|
| public static QuicPacket. | |