Package org.apache.juneau.commons.http
Class BasicNameValuePair
java.lang.Object
org.apache.juneau.commons.http.BasicNameValuePair
- All Implemented Interfaces:
NameValuePair
A simple immutable implementation of
NameValuePair.-
Field Summary
Fields inherited from interface org.apache.juneau.commons.http.NameValuePair
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BasicNameValuePair
Constructor.- Parameters:
name- The name.value- The value, may benull .
-
-
Method Details
-
getName
Description copied from interface:NameValuePairReturns the name.- Specified by:
getNamein interfaceNameValuePair- Returns:
- The name, never
null .
-
getValue
Description copied from interface:NameValuePairReturns the value.- Specified by:
getValuein interfaceNameValuePair- Returns:
- The value, may be
null .
-
equals
-
hashCode
-
toString
-