spring-projects/spring-framework — pull request #637 by sdeleuze (2014-08-28 14:39:21+00:00)
Title: Support port URI template variables

This commit makes it possible to specify port with an URI template variable.

For example :
RestTemplate restTemplate = new RestTemplate();
restTemplate.getForObject("http://localhost:{port}/resource", String.class, 8080);

Issue: SPR-12123