public class NameValuePair extends Object
Constructor and Description |
---|
NameValuePair() |
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name in the name-value pair.
|
String |
value()
Get the value in the name-value pair.
|
NameValuePair |
withName(String name)
Set the name in the name-value pair.
|
NameValuePair |
withValue(String value)
Set the value in the name-value pair.
|
public String name()
public NameValuePair withName(String name)
name
- the name value to setpublic String value()
public NameValuePair withValue(String value)
value
- the value value to setCopyright © 2019. All rights reserved.