users@jersey.java.net

Matching on param types

From: amsmota <amsmota_at_gmail.com>
Date: Tue, 14 Sep 2010 05:13:55 -0700 (PDT)

Hi all, I have another question. Does Jersey (or JAX-RS) consider the
parameter types when matching URLs?

For instance
    @GET
    @Path("/process/{id}")
    void process(@PathParam("id")long id);

    @GET
    @Path("/process/{id}")
    void process(@PathParam("id")String id);

does /process/123 matches the first method and /process/aaa the second one?

Cheers.
-- 
View this message in context: http://jersey.576304.n2.nabble.com/Matching-on-param-types-tp5530004p5530004.html
Sent from the Jersey mailing list archive at Nabble.com.