title: What to specify in the responseType parameter of the exchange RestTemplate method
body: <p>I'm trying to form a request</p>
  <pre><code>private final RestTemplate httpClient;
  ResponseEntity&lt;DataEntity&lt;User&gt;&gt; response =
      httpClient.exchange(Url,
      HttpMethod.POST, 
      httpEntity,
      User.class);
  </code></pre>
  <p>And I get an error</p>
  <pre><code>Required type:ResponseEntity&lt;DataEntity&lt;User&gt;&gt;
  Provided:ResponseEntity&lt;User&gt;
  </code></pre>
  <p>What do I need to specify in this parameter?</p>
  <pre><code>DataEntity - это класс обертка
  public class DataEntity&lt;T&gt;{
      private T data;
  }
  </code></pre>
  <p>What should I specify instead User.class ?</p>