title: How to map @RequestParam to object?
body: <pre><code>@RequestMapping(method = RequestMethod.GET)
  @ResponseBody
  public String content(
        @RequestParam int a,
        @RequestParam String b,
        ...
        @RequestParam String n;
  ) {
  
  }
  </code></pre>
  
  <p>Can I somehow directly map all the <code>@RequestParam</code>s into a java object, like?</p>
  
  <pre><code>public class RestDTO {
     private int a;
     private String b;
     private String n;
  }
  </code></pre>