users@jersey.java.net

how to get PathParam from classes ?

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 30 Aug 2009 10:36:47 +0200

if I declare a PathParam in my class definition, how to get this value
in the class methods ?

like:

@Path("{institution}/competition")
public class PujCompetitionResource {
        @GET
        @Produces( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
        @Path("{offset}/{limit}")
        public Collection<PujCompetitionEntity> selectAll(
              HERE ???
              String doubt = institution; ??????
        }

}

-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl