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).
  • Enum Constant Details

  • Method Details

    • values

      public static Http3Options.QuicCongestionControl[] 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

      public static Http3Options.QuicCongestionControl valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • parse

      public static Http3Options.QuicCongestionControl parse(String name)
      The controller with a name, ignoring case: cubic, newreno (or new_reno) or bbr.
      Parameters:
      name - the name
      Returns:
      the controller
      Throws:
      IllegalArgumentException - for any other name