org.apache.hc.core5.http

## Interface Header

- All Superinterfaces:
    NameValuePair
  All Known Subinterfaces:
    FormattedHeader
  All Known Implementing Classes:
    BasicHeader, BufferedHeader

      public interface Header
      extends NameValuePair

  Represents an HTTP header field consisting of a field name and a field value.
  Since:
    4.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isSensitive()` Returns `true` if the header should be considered sensitive.

    - ### Methods inherited from interface org.apache.hc.core5.http.NameValuePair

      `getName, getValue`

- - ### Method Detail

    - #### isSensitive

          boolean isSensitive()

      Returns `true` if the header should be considered sensitive.

      Some encoding schemes such as HPACK impose restrictions on encoded representation of sensitive headers.

      Returns:
        `true` if the header should be considered sensitive.
      Since:
        5.0

Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.