I want to read requestParams data from url using HttpServletRequest
http://localhost:8080/api/type?name=xyz&age=20
@RequestParam will not be defined in my controller, it will be just
@RequestMapping(value = "/**", method = RequestMethod.GET) public ResponseEntity<String> getResponse( final HttpServletRequest request) {}
I want to read using the request only parameters, not the entire URL.
source share