public abstract class RequestParameters extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
keyValuePairs |
| Modifier | Constructor and Description |
|---|---|
protected |
RequestParameters() |
| Modifier and Type | Method and Description |
|---|---|
abstract Object[] |
getArray(String parameter)
Returns the specified parameter, as an Array.
|
abstract List<?> |
getList(String parameter)
Returns the specified parameter, as a List.
|
abstract String |
getString(String parameter)
Returns the specified parameter, as a String.
|
Object |
getValue(String parameter)
Returns the specified parameter.
|
protected String[] |
splitStringParameter(String parameter)
Assumes the value of the parameter is a comma-delimited String, then returns an Array of String
values based on the original String.
|
public Object getValue(String parameter)
parameter - The key name of the desired value.public abstract String getString(String parameter)
parameter - The key name of the desired value.public abstract List<?> getList(String parameter)
parameter - The key name of the desired value.public abstract Object[] getArray(String parameter)
parameter - The key name of the desired value.protected String[] splitStringParameter(String parameter)
parameter - The key name of the desired value.Copyright © 2013–2020. All rights reserved.