Spring Controller get all request parameters code example
Example: spring mvc get all request parameters
@RequestMapping(value = {"/search/", "/search"}, method = RequestMethod.GET)
public String search(@RequestParam Map<String,String> allRequestParams) {
return "viewName";
}