Class QueryParameters
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
,List<String>> org.springframework.util.MultiValueMap<String,
String>
public final class QueryParameters
extends org.springframework.util.LinkedMultiValueMap<String,String>
A request's query parameters, derived from its URI's query string.
- Since:
- 3.0.0
- Author:
- Andy Wilkinson
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryParameters
from
(OperationRequest request) Extracts the query parameters from the query string of the givenrequest
.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, forEach, get, getFirst, hashCode, isEmpty, keySet, put, putAll, putIfAbsent, 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, getOrDefault, merge, remove, replace, replace, replaceAll
Methods inherited from interface org.springframework.util.MultiValueMap
addIfAbsent
-
Method Details
-
from
Extracts the query parameters from the query string of the givenrequest
. If the request has no query string, an emptyQueryParameters
is returned, rather thannull
.- Parameters:
request
- the request- Returns:
- the query parameters extracted from the request's query string
-