public class NameValuePair extends Object
Constructor and Description |
---|
NameValuePair() |
Modifier and Type | Method and Description |
---|---|
String |
name()
Get pair name.
|
String |
value()
Get pair value.
|
NameValuePair |
withName(String name)
Set pair name.
|
NameValuePair |
withValue(String value)
Set pair value.
|
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.