public class ParamsMap
extends java.util.LinkedHashMap<java.lang.String,java.lang.String>
LinkedHashMap
in order to maintain an order over the added parameters.Constructor and Description |
---|
ParamsMap()
Class constructor (only for serialization)
|
Modifier and Type | Method and Description |
---|---|
void |
addParam(java.lang.String key,
java.lang.String value)
Add a new URL param
|
java.lang.String |
getURLString()
Formats this map of params into a String ready to be used in an URL
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public void addParam(java.lang.String key, java.lang.String value)
key
- the key of the paramvalue
- the value of the parampublic java.lang.String getURLString()