On 17.3.2011 14:27, Gili wrote:
> Martin Matula-3 wrote:
>> You can use path parameter instead of a particular hostname, like this:
>> UriTemplate ut = new
>> UriTemplate("http://{host}/context/jersey/books/{id}/page/{pageNum}");
>>
>> You can even replace the whole context and care only about the
>> "jersey-specific" part of the URI like this:
>> UriTemplate ut = new UriTemplate("{context:
>> *.}/books/{id}/page/{pageNum}");
>> Martin
> Looks good, except I think you meant "context: .*" as opposed to "context:
> *."
Yes :)
Martin