title: RestTemplate uriVariables not expanded
body: <p>I try to access a rest endpoint by using springs RestTemplate.getForObject() but my uri variables are not expanded, and attached as parameters to the url. This is what I got so far:</p>
  
  <pre><code>Map&lt;String, String&gt; uriParams = new HashMap&lt;String, String&gt;();
  uriParams.put("method", "login");
  uriParams.put("input_type", DATA_TYPE);
  uriParams.put("response_type", DATA_TYPE);
  uriParams.put("rest_data", rest_data.toString());
  String responseString = template.getForObject(endpointUrl, String.class, uriParams);
  </code></pre>
  
  <p>the value of the endpointUrl Variable is <code>http://127.0.0.1/service/v4_1/rest.php</code> and it's exactely what it's called but I'd expect <code>http://127.0.0.1/service/v4_1/rest.php?method=login&amp;input_type...</code> to be called.
  Any hints are appreciated.</p>
  
  <p>I'm using Spring 3.1.4.RELEASE</p>
  
  <p>Regards.</p>