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 QueryParametersfrom(OperationRequest request) Extracts the query parameters from the query string of the givenrequest.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
-
Method Details
-
from
Extracts the query parameters from the query string of the givenrequest. If the request has no query string, an emptyQueryParametersis returned, rather thannull.- Parameters:
request- the request- Returns:
- the query parameters extracted from the request's query string
-