Package org.microproxy
Enum Class Http3Options.QuicCongestionControl
java.lang.Object
java.lang.Enum<Http3Options.QuicCongestionControl>
org.microproxy.Http3Options.QuicCongestionControl
- All Implemented Interfaces:
Serializable,Comparable<Http3Options.QuicCongestionControl>,Constable
- Enclosing class:
Http3Options
public static enum Http3Options.QuicCongestionControl
extends Enum<Http3Options.QuicCongestionControl>
The congestion controllers of the proxy's QUIC connections (see
Http3Options.Builder.quicCongestionControl).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionThe controller with a name, ignoring case:cubic,newreno(ornew_reno) orbbr.Returns the enum constant of this class with the specified name.static Http3Options.QuicCongestionControl[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CUBIC
CUBIC (RFC 9438), the default. -
NEW_RENO
NewReno (RFC 9002). -
BBR
BBR, experimental: models the bottleneck bandwidth and RTT rather than reacting to loss.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
parse
The controller with a name, ignoring case:cubic,newreno(ornew_reno) orbbr.- Parameters:
name- the name- Returns:
- the controller
- Throws:
IllegalArgumentException- for any other name
-