public class NVPair extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
NAME |
protected String |
VALUE |
| Constructor and Description |
|---|
NVPair() |
NVPair(String name,
String value)
The constructor takes a name and value which represent HTTP request
parameters.
|
| Modifier and Type | Method and 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-2022 Apache Software Foundation. All Rights Reserved.