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.
 parameter               = attribute "=" value
 attribute               = token
 value                   = token | quoted-string
 
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.