Hello,

you can get the full query string by calling 
ServerResource#getReference#getQuery, and then instantiate a 
JsonRepresentation object in order to parse the data.
Or you can call the ServerResource#getQuery method. It returns a Form 
instance (a list of Parameter objects) if you consider the query is a 
list of key/value pairs.

Best regards,
Thierry Boileau

> Hi all,
>     I am writing a sample in which I created a request object passing some 
> query in JSon representation and passed it using client.hadle(req). Now how 
> would I take that information in server side to answer the query. I have 
> written @GET method which will take the query and returns answer.
>
> Any help.....
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2455265
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2455311

Reply via email to