Interface NameValuePair

  • All Known Implementing Classes:
    DefaultNameValuePair

    public interface NameValuePair
    A name/value pair.

    How null name and/or value are handled is at the discretion of implementations, for example, some implementations might choose to require a name, but not a value (thus being null).

    Since:
    2.5.0
    • Method Detail

      • getName

        java.lang.String getName()
        Gets the name of the name/value pair.
        Returns:
        the name
      • getValue

        java.lang.String getValue()
        Gets the value of the name/value pair.
        Returns:
        the value