Long Header Packet { Header Form (1) = 1, Version-Specific Bits (7), Version (32), Destination Connection ID Length (8), Destination Connection ID (0..2040), Source Connection ID Length (8), Source Connection ID (0..2040), Version-Specific Data (..), }
Subclasses of this class may be used to model packets exchanged with either Quic Version 1 or Quic Version 2.
| Modifier and Type | Method and Description |
|---|---|
| public default QuicPacket. | headersType()
Implements jdk. This packet header's type. |
| public QuicConnectionId | |
| public int |
| headersType | back to summary |
|---|---|
| public default QuicPacket. Implements jdk. Doc from jdk. This packet header's type. Either SHORT or LONG.
| |
| sourceId | back to summary |
|---|---|
| public QuicConnectionId sourceId() Returns the packet's source connection ID.
| |
| version | back to summary |
|---|---|
| public int version() Returns the Quic version of the packet.
| |