|
SimpleServlets v5.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.simpleservlets.pageprocessor.ParameterList
public class ParameterList
Collects key-value pairs for URL-encoding. Internally, the key and the value are URL-encoded and the required "?" and "&" are used as necessary.
| Constructor Summary | |
|---|---|
ParameterList()
|
|
ParameterList(String firstKey,
int firstValue)
|
|
ParameterList(String firstKey,
Object firstValue)
|
|
ParameterList(String firstKey,
String firstValue)
|
|
| Method Summary | |
|---|---|
void |
append(String key,
int value)
Appends a new key-value pair on the end using String.valueOf for conversion of the value. |
void |
append(String key,
Object value)
Appends a new key-value pair on the end using String.valueOf for conversion of the value. |
void |
append(String key,
String value)
Appends a new key-value pair on the end. |
String |
encode()
Returns the URL encoded string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterList(String firstKey,
String firstValue)
public ParameterList(String firstKey,
Object firstValue)
public ParameterList(String firstKey,
int firstValue)
public ParameterList()
| Method Detail |
|---|
public void append(String key,
String value)
public void append(String key,
int value)
public void append(String key,
Object value)
public String encode()
|
SimpleServlets v5.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||