On 2011-12-23 17:06, Markus KARG wrote:
> Looks interesting and maybe is a better approach than to overload methods.
> Just for clarity, can you please answer this:
>
> If the current code's method is annotated with @Path("foo/{bar}") and I want
> to do .path(Class, String).build("a/b/c") to get "foo/a%2Fb%2Fc", what do I
> have to change in the code? Just writing {+bar} instead of {bar}? If that
> would be true, this would be the best solution.
>
> Regards
> Markus
In any case, it would be very good if somebody familiar with the use of
templates in JAX-RS would have a look at the latest URI templates draft;
it's in IETF Last Call (will forward the announcement mail separately).
Best regards, Julian