users@jersey.java.net

SV: [Jersey] Uri matching

From: Wilhelmsen Tor Iver <TorIverW_at_arrive.no>
Date: Thu, 26 Feb 2009 17:20:17 +0100

> 2) @GET
> @Path("/data/{key}")
> String read(@PathParam("key")String key,
> @QueryParam("mode")boolean mode);

Use this variant and check whehter mode is null to differentiate between
the scenarios you thought about using different methods for.