title: How to read the request param values in spring using HTTPServletRequest
body: <p>I want to read the requestParams data from the url using HttpServletRequest</p>
  
  <pre><code>http://localhost:8080/api/type?name=xyz&amp;age=20
  </code></pre>
  
  <p>The method in my controller will not have @RequestParam defined,it will be just</p>
  
  <pre><code>@RequestMapping(value = "/**", method = RequestMethod.GET)
      public ResponseEntity&lt;String&gt; getResponse(
              final HttpServletRequest request) {}
  </code></pre>
  
  <p>I want to read using request only the params not the entire url.</p>