Check out example codes for "spring mvc get all request parameters". It will help you in understanding the concepts better.

Code Example 1

@RequestMapping(value = {"/search/", "/search"}, method = RequestMethod.GET)
public String search(@RequestParam Map<String,String> allRequestParams) {
   return "viewName";
}

Learn ReactJs, React Native from akashmittal.com