Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.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.

     parameter               = attribute "=" value
     attribute               = token
     value                   = token | quoted-string

Since:
  4.0

Method Summary
`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`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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