Class TransportParameters
java.lang.Object
org.eclipse.jetty.quic.api.frames.TransportParameters
- All Implemented Interfaces:
Iterable<Map.Entry<TransportParameters.Id<?>,
Object>>
public class TransportParameters
extends Object
implements Iterable<Map.Entry<TransportParameters.Id<?>,Object>>
The QUIC transport parameters as a map ID -> value
.
The type of the value depends on the parameter ID; for most
parameters, the value type is a long
, but for other
parameters, such as tokens or connection IDs, the value type
is a byte[]
.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
The parameter ID, with the type of the value.static class
The collection of known QUIC transport parameter IDs.static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
get
(TransportParameters.Id<T> id) iterator()
<T> T
put
(TransportParameters.Id<T> id, T value) void
<T> T
putIfAbsent
(TransportParameters.Id<T> id, T value) int
size()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TransportParameters
public TransportParameters()
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<Map.Entry<TransportParameters.Id<?>,
Object>>
-
get
-
put
-
putIfAbsent
-
putGreaseParameter
public void putGreaseParameter() -
size
public int size() -
toString
-