title: Convert form data to object (DTO)
body: <p>I have this route in controller which accepts - <code>application/x-www-form-urlencoded</code></p>
  
  <pre class="lang-js prettyprint-override"><code>@RequestMapping(value = "/browser", method = RequestMethod.POST, produces = {"application/xml"}, consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
  @ResponseBody
  public ResponseEntity&lt;String&gt; processServerCallback(@RequestBody final MultiValueMap&lt;String, String&gt; formVars) {
      System.out.println(formVars);
      return null;
  }
  </code></pre>
  
  <p>Now I need to convert <code>formVars</code> to my DTO object. How can I do that?</p>