Interface Http3Settings.NonStandardHttp3SettingsValidator

Enclosing class:
Http3Settings

public static interface Http3Settings.NonStandardHttp3SettingsValidator
Allows to handle non-standard settings. By default non-standard settings will be ignore as defined by the RFC.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    validate(long id, Long value)
    Validate the setting with the given id and value.
  • Method Details

    • validate

      boolean validate(long id, Long value) throws IllegalArgumentException
      Validate the setting with the given id and value.
      Parameters:
      id - the id of the setting
      value - the value of the setting
      Returns:
      true if the settings is supported, false otherwise.
      Throws:
      IllegalArgumentException - if the given value is not supported for the id.