APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.internal.net.http.quic.frames

public final Class RetireConnectionIDFrame

extends QuicFrame
Class Inheritance
Imports
jdk.internal.net.quic.QuicTransportException, java.nio.BufferOverflowException, .ByteBuffer

A RETIRE_CONNECTION_ID Frame
External Specification
https://www.rfc-editor.org/info/rfc9000

Field Summary

Modifier and TypeField and Description
private final long
Inherited from jdk.internal.net.http.quic.frames.QuicFrame:
ACKCONNECTION_CLOSECRYPTODATA_BLOCKEDHANDSHAKE_DONEMAX_DATAMAX_STREAM_DATAMAX_STREAMSMAX_VL_INTEGERNEW_CONNECTION_IDNEW_TOKENPADDINGPATH_CHALLENGEPATH_RESPONSEPINGRESET_STREAMRETIRE_CONNECTION_IDSTOP_SENDINGSTREAMSTREAM_DATA_BLOCKEDSTREAMS_BLOCKED

Constructor Summary

AccessConstructor and Description
pack-priv
RetireConnectionIDFrame(ByteBuffer buffer, int type)

Incoming RETIRE_CONNECTION_ID frame returned by QuicFrame.decode()

public
RetireConnectionIDFrame(long sequenceNumber)

Outgoing RETIRE_CONNECTION_ID frame

Method Summary

Modifier and TypeMethod and Description
public void
encode(ByteBuffer buffer)

Implements abstract jdk.internal.net.http.quic.frames.QuicFrame.encode.

Encode this QUIC Frame into given ByteBuffer

public long
public int
size()

Implements abstract jdk.internal.net.http.quic.frames.QuicFrame.size.

Returns the minimum number of bytes needed to encode this frame.

public String
toString()

Overrides jdk.internal.net.http.quic.frames.QuicFrame.toString.

Returns a string representation of the object.

Inherited from jdk.internal.net.http.quic.frames.QuicFrame:
decodedecodeVLFielddecodeVLFieldAsIntencodeVLFieldframeClassOfframeTypeframeTypeOfgetTypeFieldgetVLFieldLengthForisAckElicitingisValidInputByteBufferrequireVLRangerequireVLRangevalidateRemainingLength

Field Detail

sequenceNumberback to summary
private final long sequenceNumber

Constructor Detail

RetireConnectionIDFrameback to summary
pack-priv RetireConnectionIDFrame(ByteBuffer buffer, int type) throws QuicTransportException

Incoming RETIRE_CONNECTION_ID frame returned by QuicFrame.decode()

Exceptions
QuicTransportException:
if the frame was malformed
RetireConnectionIDFrameback to summary
public RetireConnectionIDFrame(long sequenceNumber)

Outgoing RETIRE_CONNECTION_ID frame

Method Detail

encodeback to summary
public void encode(ByteBuffer buffer)

Implements abstract jdk.internal.net.http.quic.frames.QuicFrame.encode.

Doc from jdk.internal.net.http.quic.frames.QuicFrame.encode.

Encode this QUIC Frame into given ByteBuffer

Annotations
@Override
sequenceNumberback to summary
public long sequenceNumber()
sizeback to summary
public int size()

Implements abstract jdk.internal.net.http.quic.frames.QuicFrame.size.

Doc from jdk.internal.net.http.quic.frames.QuicFrame.size.

Returns the minimum number of bytes needed to encode this frame.

Annotations
@Override
toStringback to summary
public String toString()

Overrides jdk.internal.net.http.quic.frames.QuicFrame.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override