[jax-rs-spec users] [jsr339-experts] Uri annotation and absolute uri template

From: Sergey Beryozkin <>
Date: Tue, 12 Feb 2013 16:52:15 +0000


Uri documentation lists this example:


What are the actual expectations here as far as the runtime is concerned
? Specifically, "{audit-host}" and "{audit-port}", where would these
values come from ?

This example is for the case when "if not used from inside of a JAX-RS
component class", say from ClientRequestFilter (a minor typo is in the
docs btw, see 'RequestFilter' -> ClientRequestFilter)

Things are clearer with the template var substitution if it is used from
within a resource, as we have some context there...

Thanks, Sergey