Package io.netty.handler.codec.http3
Interface Http3Settings.NonStandardHttp3SettingsValidator
-
- Enclosing class:
- Http3Settings
public static interface Http3Settings.NonStandardHttp3SettingsValidatorAllows 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 booleanvalidate(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.IllegalArgumentExceptionValidate the setting with the given id and value.- Parameters:
id- the id of the settingvalue- the value of the setting- Returns:
trueif the settings is supported,falseotherwise.- Throws:
java.lang.IllegalArgumentException- if the givenvalueis not supported for the id.
-
-