users@jersey.java.net

[Jersey] Re: WebTarget template resolution inconsistency

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Fri, 7 Nov 2014 18:07:14 +0100

Hi Stevo,

Please file a bug and preferably attach a code snippet or a unit test that reproduces the issue.

Thank you,
Marek

> On 05 Nov 2014, at 11:08, Stevo Slavić <sslavic_at_gmail.com> wrote:
>
> Hello Jersey community,
>
> With a reference to WebTarget with two URI parameters in path I notice difference in result, one if I apply the two parameters separately with two chained resolveTemplate calls, and different result if I just call resolveTemplates with both parameters provided. Former will besides replacing {param}'s with values also prefix values with '$' character while latter will just replace {param} with value.
>
> Is this by design or a bug?
>
> I'm using Jersey 2.13.
>
> Kind regards,
> Stevo Slavic.