users@jersey.java.net

injecting UriInfo into a method parameter

From: enzo 660 <enzo.660_at_gmail.com>
Date: Mon, 12 Jan 2009 17:49:06 -0800

Hello Folks,
     I've been able to inject UriInfo into a class field but I'm not
sure how to go about method params.
Basically, i don't know how to compose the url to access the resource
when the method param is @Context.

@Path("/instru/")
public class Instru

@HttpMethod(GET)
@Path("/testUriInfo")
@ProduceMime("text/plain")
public String listQueryParamNames(@Context UriInfo info){
...

Can anybody please help with this?

thanks,
-RP