Interface Http2HeadersEncoder.SensitivityDetector

Enclosing interface:
Http2HeadersEncoder

public static interface Http2HeadersEncoder.SensitivityDetector
Determine if a header name/value pair is treated as sensitive. If the object can be dynamically modified and shared across multiple connections it may need to be thread safe.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determine if a header name/value pair should be treated as sensitive.
  • Method Details

    • isSensitive

      boolean isSensitive(CharSequence name, CharSequence value)
      Determine if a header name/value pair should be treated as sensitive.
      Parameters:
      name - The name for the header.
      value - The value of the header.
      Returns:
      true if a header name/value pair should be treated as sensitive. false otherwise.