Package org.apache.juneau.commons.http
Interface NameValuePair
- All Known Implementing Classes:
BasicNameValuePair,HttpPart
public interface NameValuePair
A name/value pair parameter, typically used in HTTP headers and request parameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NameValuePair[]Shared empty array for header elements with no parameters. -
Method Summary
-
Field Details
-
EMPTY_ARRAY
Shared empty array for header elements with no parameters.
-
-
Method Details
-
getName
Returns the name.- Returns:
- The name, never
null .
-
getValue
Returns the value.- Returns:
- The value, may be
null .
-