users@jersey.java.net

[Jersey] WebTarget template resolution inconsistency

From: Stevo Slavić <sslavic_at_gmail.com>
Date: Wed, 5 Nov 2014 11:08:23 +0100

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.