Interface DefaultHeaders.ValueValidator<V>

Enclosing class:
DefaultHeaders<K,V,T extends Headers<K,V,T>>

public static interface DefaultHeaders.ValueValidator<V>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(V value)
    Validate the given value.
  • Field Details

  • Method Details

    • validate

      void validate(V value)
      Validate the given value. If the validation fails, then an implementation specific runtime exception may be thrown.
      Parameters:
      value - The value to validate.