Class NameValuePair
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.NameValuePair
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Cookie
,Header
,HeaderElement
A simple class encapsulating a name/value pair.
- Version:
- $Revision: 480424 $ $Date: 2006-11-29 06:56:49 +0100 (Wed, 29 Nov 2006) $
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NameValuePair
public NameValuePair()Default constructor. -
NameValuePair
Constructor.- Parameters:
name
- The name.value
- The value.
-
-
Method Details
-
setName
Set the name.- Parameters:
name
- The new name- See Also:
-
getName
Return the name.- Returns:
- String name The name
- See Also:
-
setValue
Set the value.- Parameters:
value
- The new value.
-
getValue
Return the current value.- Returns:
- String value The current value.
-
toString
Get a String representation of this pair. -
equals
-
hashCode
public int hashCode()
-