Awesome! @QueryParam works great.
I guess @HttpContext, UriInfo and the others are coming later? Is there anyway I can get the ipAddress of the client calling this REST service? Thanks On Tue, 2008-02-05 at 16:09 -0500, Daniel Kulp wrote: > I think the QueryParam stuff was added this morning. I'm deploying a > new snapshot right now (probably another 20 minutes or so), so you might > want to give that a try and see if it works. > > Thanks! > Dan > > > On Tuesday 05 February 2008, Joe Toth wrote: > > I'm using 2.1-incubator-SNAPSHOT from this repository > > http://people.apache.org/repo/m2-snapshot-repository > > > > I saw in the jira issues that @QueryParam hasn't been implemented yet. > > > > I have a service with optional parameters and the parameters might > > keep growing so I wanted to keep the URL query based. > > > > Is there any way to get query parameters currently? > > Also, the IP Address of the person calling the service? > > > > The following gives me all null parameters. > > > > public SeamSponsorship nextSeamSponsorship(@HttpContext > > UriInfo info, @QueryParam("seamId") > > String seamId, @QueryParam("clientIPAddress") > > String clientIPAddress, @QueryParam("domain") > > String domain) > > > > Thanks > > >
