public class NVPair extends Object
Modifier and Type | Field | Description |
---|---|---|
protected String |
NAME |
|
protected String |
VALUE |
Constructor | Description |
---|---|
NVPair() |
|
NVPair(String name,
String value) |
The constructor takes a name and value which represent HTTP request
parameters.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getName() |
Return the name
|
String |
getValue() |
Return the value
|
void |
setName(String name) |
Set the name
|
void |
setValue(String value) |
Set the value
|
public void setName(String name)
name
- name of the request parameterpublic void setValue(String value)
value
- value of the request parameterpublic String getName()
public String getValue()
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.