For example, URL can be:
/api/groups?sdk&type=1
or
/api/groups?app&type=1
In java, I want to know the param in the url is sdk or app. I have tried something like:
@RequestMapping(method = RequestMethod.GET)
public ResponseResult testGet(HttpServletRequest request, @RequestParam String sdk, @RequestParam int type) {
...
}