getParameterMap
getParameterMap is a method in the Java Servlet API, defined on HttpServletRequest. It returns a map that relates parameter names to their values as arrays of strings. The method signature is Map<String, String[]> getParameterMap(). The map contains each parameter name as a key and a String[] of its values as the corresponding value. If a parameter appears multiple times in the request, all of its values are present in the array for that parameter.
Parameters in the map come from both the query string and the request body for applicable POST
Usage of getParameterMap is common when you need to inspect or iterate over all parameters, for example
Notes: the map is intended for read-only use; mutating the map or its contents is not generally
See also: HttpServletRequest.getParameter, HttpServletRequest.getParameterValues, HttpServletRequest.getParameterNames.