org.apache.hc.core5.http

## Interface NameValuePair

- All Known Subinterfaces:
    FormattedHeader, Header
  All Known Implementing Classes:
    BasicHeader, BasicNameValuePair, BufferedHeader

      public interface NameValuePair

  A name-value pair parameter used as an element of HTTP messages.
  Since:
    4.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getName()` Gets the name of this pair.
    `String` | `getValue()` Gets the value of this pair.

- - ### Method Detail

    - #### getName

          String getName()

      Gets the name of this pair.
      Returns:
        the name of this pair, never `null`.

    - #### getValue

          String getValue()

      Gets the value of this pair.
      Returns:
        the value of this pair, may be `null`.

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