| java.lang.Object HTTPClient.NVPair
NVPair | final public class NVPair (Code) | | This class holds a Name/Value pair of strings. It's used for headers,
form-data, attribute-lists, etc. This class is immutable.
version: 0.3-2 18/06/1999 author: Ronald Tschalär |
Constructor Summary | |
| NVPair() Creates an empty name/value pair. | public | NVPair(NVPair p) Creates a copy of a given name/value pair. | public | NVPair(String name, String value) Creates a new name/value pair and initializes it to the
specified name and value. |
NVPair | NVPair()(Code) | | Creates an empty name/value pair.
|
NVPair | public NVPair(NVPair p)(Code) | | Creates a copy of a given name/value pair.
Parameters: p - the name/value pair to copy |
NVPair | public NVPair(String name, String value)(Code) | | Creates a new name/value pair and initializes it to the
specified name and value.
Parameters: name - the name Parameters: value - the value |
getName | final public String getName()(Code) | | get the name
the name |
getValue | final public String getValue()(Code) | | get the value
the value |
toString | public String toString()(Code) | | produces a string containing the name and value of this instance.
a string containing the class name and the name and value |
|
|