public class QueryString extends TreeMap<String,String>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
QueryString() |
QueryString(Map<String,?> source) |
| Modifier and Type | Method and Description |
|---|---|
static QueryString |
create(String query) |
String |
toString() |
String |
toString(boolean canonical)
The canonicalized query string is formed by first sorting all the query
string parameters, then URI encoding both the key and value and then
joining them, in order, separating key value pairs with an '&'.
|
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, valuesequals, hashCode, isEmptypublic String toString()
toString in class AbstractMap<String,String>public String toString(boolean canonical)
canonical - whether or not the string should be canonicalizedpublic static QueryString create(String query)
Copyright © 2012–2014. All rights reserved.