users@jersey.java.net

[Jersey] Question Mark in Path Param

From: jmandawg <jmandawg_at_hotmail.com>
Date: Fri, 11 Mar 2011 08:56:31 -0800 (PST)

Hi,

I'm trying to get the Path param from this url:

http://yourhost.tld:9999/solr/select?q=cat:electronics+Belkin&version=2.1&start=2&rows=2&indent=on&fl=id+name+score

I want to be able to pull out the string:
"select?q=cat:electronics+Belkin&version=2.1&start=2&rows=2&indent=on&fl=id+name+score"

But when i try to i only get: "select"

Here is the code:

@GET @Path("/{query}")
        public String getSearch(@PathParam("query") String query) {
                System.out.println(query);
       }

How can i get the entire string?

Thanks.

--
View this message in context: http://jersey.576304.n2.nabble.com/Question-Mark-in-Path-Param-tp6162107p6162107.html
Sent from the Jersey mailing list archive at Nabble.com.