Class RequestParamMapMethodArgumentResolver

java.lang.Object
org.springframework.web.method.annotation.RequestParamMapMethodArgumentResolver
All Implemented Interfaces:
HandlerMethodArgumentResolver

public class RequestParamMapMethodArgumentResolver extends Object implements HandlerMethodArgumentResolver
Resolves Map method arguments annotated with an @RequestParam where the annotation does not specify a request parameter name.

The created Map contains all request parameter name/value pairs, or all multipart files for a given parameter name if specifically declared with MultipartFile as the value type. If the method parameter type is MultiValueMap instead, the created map contains all request parameters and all their values for cases where request parameters have multiple values (or multiple multipart files of the same name).

Since:
3.1
Author:
Arjen Poutsma, Rossen Stoyanchev, Juergen Hoeller
See Also: