0

I try to path List of parameters in request. My controller use @RequestParam:

@RequestParam(name = "extraRow", required = false)
            List<String> params,

But in generated url request I get:

http://localhost:/list/{params}?extraRow=param1&extraRow=param2&extraRow=param3

But i would like to get something like:

http://localhost:/list/{params}?extraRow=[param1, param2, param3]

Is there any way to do that (Without using @PathVariable) ?

Axel HK
  • 75
  • 2
  • 8

0 Answers0