I need to parse the queryString part of a URL. The answer to this other question makes a very important point about
The problem with query part of an url is that there is no clear specification about how to handle parameters duplication.
Specifically, I need to read some URLs from a log file and then parse them into the exact same MultiValueMap<String, String[]>
object that would ordinarily be passed in to a Spring MVC @RequestMapping
-annotated method. But being a Unit Test, I really need to do this outside of a web container.
Googling for "spring mvc parse query string" is fruitless as most folks are concerned with how to prevent parsing of the queryString -- a totally different problem.