Class FormParameters
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,,List<String>> org.springframework.util.MultiValueMap<String,String>
public final class FormParameters
extends org.springframework.util.LinkedMultiValueMap<String,String>
A request's form parameters, derived from its form URL encoded body content.
- Since:
- 3.0.0
- Author:
- Andy Wilkinson
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormParametersfrom(OperationRequest request) Extracts the form parameters from the body 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 form parameters from the body of the givenrequest. If the request has no body content, an emptyFormParametersis returned, rather thannull.- Parameters:
request- the request- Returns:
- the form parameters extracted from the body content
-