users@jersey.java.net

Re: [Jersey] Selecting subrule by _at_QueryParam

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 26 Jun 2009 10:21:28 +0200

On Jun 26, 2009, at 10:01 AM, Martin Probst wrote:

>> You need to disambiguate using @Path, or override and ignore the
>> query
>> parameter value.
>
> The point was that I wanted to actually have both methods available,
> and pick the correct one depending on the presence/absence of the
> ?param parameter.
>

OK. JAX-RS only switches based on the path.

Paul.