Class Http3Settings

java.lang.Object
io.vertx.core.http.HttpSettings
io.vertx.core.http.Http3Settings

public class Http3Settings extends HttpSettings
HTTP/3 settings, the settings is initialized with the default HTTP/3 values.

The settings expose the parameters defined by the HTTP/3 specification.

Author:
Julien Viet
  • Field Details

    • QPACK_MAX_TABLE_CAPACITY

      public static final HttpSetting<Long> QPACK_MAX_TABLE_CAPACITY
      HTTP/3 QPACK_MAX_TABLE_CAPACITY setting
    • MAX_FIELD_SECTION_SIZE

      public static final HttpSetting<Long> MAX_FIELD_SECTION_SIZE
      HTTP/3 MAX_FIELD_SECTION_SIZE setting
    • QPACK_BLOCKED_STREAMS

      public static final HttpSetting<Long> QPACK_BLOCKED_STREAMS
      HTTP/3 QPACK_BLOCKED_STREAMS setting
  • Constructor Details

    • Http3Settings

      public Http3Settings()
    • Http3Settings

      public Http3Settings(Http3Settings other)
  • Method Details

    • copy

      public Http3Settings copy()
      Specified by:
      copy in class HttpSettings
    • getQPackMaxTableCapacity

      public long getQPackMaxTableCapacity()
      Returns:
      the QPACK_MAX_TABLE_CAPACITY setting value
    • setQPackMaxTableCapacity

      public Http3Settings setQPackMaxTableCapacity(long value)

      Set the QPACK_MAX_TABLE_CAPACITY setting value.

      Specifies the maximum value the QPACK encoder is permitted to set for the dynamic table capacity. The default value is 0

      Parameters:
      value - the setting value
      Returns:
      a reference to this, so the API can be used fluently
    • getMaxFieldSectionSize

      public long getMaxFieldSectionSize()
      Returns:
      the MAX_FIELD_SECTION_SIZE setting value
      See Also:
    • setMaxFieldSectionSize

      public Http3Settings setMaxFieldSectionSize(long value)

      Set the MAX_FIELD_SECTION_SIZE setting value.

      Specifies the maximum size in bytes of a header message. The default value is infinite and is represented by Long.MAX_VALUE when a default value is queried.

      Parameters:
      value - the setting value
      Returns:
      a reference to this, so the API can be used fluently
    • getQPackBlockedStreams

      public long getQPackBlockedStreams()
      Returns:
      the QPACK_BLOCKED_STREAMS setting value
    • setQPackBlockedStreams

      public Http3Settings setQPackBlockedStreams(long value)

      Set the QPACK_BLOCKED_STREAMS setting value.

      Specifies an upper bound on the number of streams that can be blocked by the QPACK decoder. The default value is 0.

      Parameters:
      value - the setting value
      Returns:
      a reference to this, so the API can be used fluently
    • set

      public <T> Http3Settings set(HttpSetting<T> setting, T value)
      Description copied from class: HttpSettings
      Set the setting value with <T>.
      Overrides:
      set in class HttpSettings
      Parameters:
      setting - the setting
      value - the java value
      Returns:
      a reference to this, so the API can be used fluently
    • setLong

      public Http3Settings setLong(HttpSetting<?> setting, long value)
      Description copied from class: HttpSettings
      Set the setting value with long.
      Overrides:
      setLong in class HttpSettings
      Parameters:
      setting - the setting
      value - the raw value
      Returns:
      a reference to this, so the API can be used fluently