I believe so, but try it out yourself :) .. Adam
On Sun, Mar 23, 2008 at 8:42 PM, Ian Clarke <[EMAIL PROTECTED]> wrote: > On Sun, Mar 23, 2008 at 10:39 PM, Adam Rosien <[EMAIL PROTECTED]> wrote: > > > In the event that it is appropriate to use a GET parameter, what is > > > the best way to extract it from a Request? > > > > http://www.restlet.org/documentation/1.0/tutorial#part10 has one way > > to push the query parameters into the Request's attributes, available > > via getRequest().getAttributes(). > > Will this approach work (from within the Resource constructor)? :- > > Form queryForm = request.getResourceRef().getQueryAsForm(); > String maxResultsAsString = queryForm.getFirstValue("maxResults"); > > > > Thanks, > > Ian. > > -- > Email: [EMAIL PROTECTED] > Cell: +1 512 422 3588 > Skype: sanity >