title: Spring HATEOAS ControllerLinkBuilder removes trailing slash?
body: <p>I am trying to incorporate Spring HATEOAS into an existing service tool and REST API. However, one of the issues I"m encountering is that the ControllerLinkBuilder seems to remove trailing slashes (which is a requirement due to existing constraints). Is there some workaround or method to get that trailing slash added to the link?</p>
  
  <pre><code> user.add(linkTo(UserController.class).slash("user").slash(user.getUsername() + "/").withRel("Get User Details"));
  </code></pre>
  
  <p>(User extends ResourceSupport)</p>
  
  <p>I have also tried .slash("") to no avail.</p>
  
  <p>The output:</p>
  
  <pre><code>"http://localhost:8080/REST/user/&lt;username&gt;"
  </code></pre>