Class Parameters
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
,List<String>> org.springframework.util.MultiValueMap<String,
String>
The parameters received in a request.
- Author:
- Andy Wilkinson
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetUniqueParameters
(URI uri) Returns a newParameters
containing only the parameters that do no appear in the query string of the givenuri
.Converts the parameters to a query string suitable for use in a URI or the body of a form-encoded request.Methods inherited from class org.springframework.util.LinkedMultiValueMap
clone, deepCopy
Methods inherited from class org.springframework.util.MultiValueMapAdapter
add, addAll, addAll, clear, containsKey, containsValue, entrySet, equals, get, getFirst, hashCode, isEmpty, keySet, put, putAll, remove, set, setAll, size, toSingleValueMap, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
Methods inherited from interface org.springframework.util.MultiValueMap
addIfAbsent
-
Constructor Details
-
Parameters
public Parameters()
-
-
Method Details
-
toQueryString
Converts the parameters to a query string suitable for use in a URI or the body of a form-encoded request.- Returns:
- the query string
-
getUniqueParameters
Returns a newParameters
containing only the parameters that do no appear in the query string of the givenuri
.- Parameters:
uri
- the uri- Returns:
- the unique parameters
-