Interface NameValuePair

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

public interface NameValuePair
A name-value pair parameter used as an element of HTTP messages.
Since:
4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name of this pair.
    Gets the value of this pair.
  • Method Details

    • 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.