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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUniqueParameters(URI uri) Returns a newParameterscontaining 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, deepCopyMethods 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, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllMethods 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 newParameterscontaining only the parameters that do no appear in the query string of the givenuri.- Parameters:
uri- the uri- Returns:
- the unique parameters
-