Skip to content

Allow for using MultiValueMap in GET request for mapping multiple request params [SPR-6021] #10690

@spring-projects-issues

Description

@spring-projects-issues

Grzegorz Borkowski opened SPR-6021 and commented

If you send GET request with multiple params (and changing number thereof), instead of writing method like this:

method(@RequestParam String param1, @RequestParam String param2, @RequestParam String param3, @RequestParam String param4, ...)

it would be simpler to use MutliValueMap for this purpose:

method(@RequestParam MutliValueMap params)

(or create new annotation @RequestParams for this purpose)


Affects: 3.0 M3

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions