title: RestTemplate: returning a List of Entities
body: <p>There is a RestFull method that return a List of Menu objects</p>
  
  <pre><code>public ResponseEntity&lt;List&lt;Menu&gt;&gt; getMenus() {
  ..
  }
  </code></pre>
  
  <p>But I don't know how to get them from the RestTemplate, getting the class from ResponseEntity></p>
  
  <pre><code>ResponseEntity&lt;List&lt;Menu&gt;&gt; response = restTemplate
                    .exchange("http://127.0.0.1:8080/elcor/api/users/1/menus", HttpMethod.GET, entity,  ResponseEntity&lt;List&lt;Menu&gt;&gt;.getClass());
  </code></pre>