A Retry packet uses a long packet header with a type value of 0x03. It carries an address validation token created by the server. It is used by a server that wishes to perform a retry; see Section 8.1. Retry Packet { Header Form (1) = 1, Fixed Bit (1) = 1, Long Packet Type (2) = 3, Unused (4), Version (32), Destination Connection ID Length (8), Destination Connection ID (0..160), Source Connection ID Length (8), Source Connection ID (0..160), Retry Token (..), Retry Integrity Tag (128), }
Subclasses of this class may be used to model packets exchanged with either Quic Version 1 or Quic Version 2. Note that Quic Version 2 uses the same Retry Packet structure than Quic Version 1, but uses a different long packet type than that shown above. See RFC 9369, Section 3.2.
| Modifier and Type | Method and Description |
|---|---|
| public default QuicPacket. | Returns: PacketNumberSpace#NONEImplements jdk. This packet type is not numbered: returns
|
| public default long | Returns: -1LOverrides default jdk. This packet type is not numbered: always returns -1L. |
| public default QuicPacket. | packetType()
Implements jdk. Returns this packet's type. |
| public byte[] |
| numberSpace | back to summary |
|---|---|
| public default QuicPacket. Implements jdk. This packet type is not numbered: returns
| |
| packetNumber | back to summary |
|---|---|
| public default long packetNumber() Overrides default jdk. This packet type is not numbered: always returns -1L.
| |
| packetType | back to summary |
|---|---|
| public default QuicPacket. Implements jdk. Doc from jdk. Returns this packet's type.
| |
| retryToken | back to summary |
|---|---|
| public byte[] retryToken() Returns the packet's retry token. As per RFC 9000, Section 17.2.5:
| |