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 classstatic classThe parameter ID, with the type of the value.static classThe collection of known QUIC transport parameter IDs.static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tget(TransportParameters.Id<T> id) iterator()<T> Tput(TransportParameters.Id<T> id, T value) void<T> TputIfAbsent(TransportParameters.Id<T> id, T value) intsize()toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
TransportParameters
public TransportParameters()
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceIterable<Map.Entry<TransportParameters.Id<?>, Object>>
-
get
-
put
-
putIfAbsent
-
putGreaseParameter
public void putGreaseParameter() -
size
public int size() -
toString
-