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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean validate​(long id, java.lang.Long value)
      Validate the setting with the given id and value.
    • Method Detail

      • validate

        boolean validate​(long id,
                         java.lang.Long value)
                  throws java.lang.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:
        java.lang.IllegalArgumentException - if the given value is not supported for the id.