APIdia Launch Partner
Top Description Methods
jdk.internal.net.http.quic.packets

public Interface ShortHeaderPacket

extends QuicPacket
Known Direct Subinterfaces
jdk.internal.net.http.quic.packets.OneRttPacket
Known Direct Implementers
jdk.internal.net.http.quic.packets.QuicPacketDecoder.IncomingShortHeaderPacket, jdk.internal.net.http.quic.packets.QuicPacketEncoder.OutgoingShortHeaderPacket

This interface models Quic Short Header packets, as defined by RFC 8999, Section 5.2:
Short Header Packet {
     Header Form (1) = 0,
     Version-Specific Bits (7),
     Destination Connection ID (..),
     Version-Specific Data (..),
   }

Subclasses of this class may be used to model packets exchanged with either Quic Version 1 or Quic Version 2.

External Specification
https://www.rfc-editor.org/info/rfc8999, https://www.rfc-editor.org/info/rfc9000, https://www.rfc-editor.org/info/rfc9369

Method Summary

Modifier and TypeMethod and Description
public default QuicPacket.HeadersType
Inherited from jdk.internal.net.http.quic.packets.QuicPacket:
destinationIdframeshasLengthisAckElicitinglengthnumberSpacepacketNumberpacketTypepayloadSizeprettyPrintsize

Method Detail

headersTypeback to summary
public default QuicPacket.HeadersType headersType()

Implements jdk.internal.net.http.quic.packets.QuicPacket.headersType.

Doc from jdk.internal.net.http.quic.packets.QuicPacket.headersType.

This packet header's type. Either SHORT or LONG.

Annotations
@Override