@Contract(threading=IMMUTABLE) public class BasicNameValuePair extends Object implements NameValuePair, Cloneable, Serializable
NameValuePair
.Modifier and Type | Field and Description |
---|---|
private String |
name |
private static long |
serialVersionUID |
private String |
value |
Constructor and Description |
---|
BasicNameValuePair(String name,
String value)
Default Constructor taking a name and a value.
|
private static final long serialVersionUID
public BasicNameValuePair(String name, String value)
name
- The name.value
- The value.public String getName()
getName
in interface NameValuePair
public String getValue()
getValue
in interface NameValuePair
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses