Gotcha, thanks. I don't want to be a nag, but could you (in both of those constructors, new and old) indicate in the javadocs that the arguments are used as prototypes?
--tim On Fri, Nov 11, 2011 at 11:16 AM, Jerome Louvel <[email protected]>wrote: > I meant “*without* the Response parameter”.**** > > ** ** > > Cheers,**** > > Jerome**** > > ** ** > > *De :* Jerome Louvel [mailto:[email protected]] > *Envoyé :* vendredi 11 novembre 2011 16:50 > *À :* 'discuss' > *Objet :* RE: Client abstraction**** > > ** ** > > Hi Tim,**** > > ** ** > > Yes, this is the right constructor to use! Just pass “null” for the > response. **** > > ** ** > > In addition, I also added new constructors with the Response parameter in > SVN trunk to make this usage easier.**** > > ** ** > > Best regards, > Jerome > -- > http://www.restlet.org**** > > http://twitter.com/#!/jlouvel**** > > ** ** > > ** ** > > ** ** > > *De :* [email protected] [mailto:[email protected]] *De la part de* Tim > Peierls > > *Envoyé :* vendredi 11 novembre 2011 16:47 > *À :* [email protected] > *Objet :* Re: Client abstraction**** > > ** ** > > On Fri, Nov 11, 2011 at 10:25 AM, Jerome Louvel <[email protected]> > wrote:**** > > Also, it is possible to create a ClientResource by wrapping an existing > Request object that will serve as a prototype object to be cloned for > each call.**** > > ** ** > > Is that the ClientResource(Request, Response) constructor? Or something > else?**** > > ** ** > > --tim**** > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2877288

