this way, but this allows authors to use a predefined URL "pattern" to replace
path pieces with values determined at runtime. For example:
<div class="code"><pre>// Produces <span class="java&#45;quote">"http://example.com/webapp/resource/item/id/5497"</span>
UriBuilder.build(<span class="java&#45;quote">"http://example.com/webapp/resource/&#123;resource&#125;/id/&#123;id&#125;"</span>, <span class="java&#45;quote">"item"</span>, <span class="java&#45;quote">"5497"</span>)</pre></div>



                <di