title: Generating relative paths with Jersey UriBuilder
body: <p>Using UriBuilder as follows:</p>
  
  <pre><code>UriBuilder.fromResource(My.class).path("resource").build().toString()
  </code></pre>
  
  <p>generates <code>/my/resource</code>.</p>
  
  <p>I was wondering if there was a way to tell UriBuilder that I want to generate a relative path like so <code>my/resource</code>. This is useful in cases where I want to advertise resource URIs relative to the root URI (<code>/my/resource</code> being an absolute path and a relative URI to the root scheme + domain + port).</p>
  
  <p>Does my question even make sense?</p>