Hello Niclas, the API of Restlet 2.0 has been moving, as usual, and it is now stabilized a few points needs to be addressed). The future 2.0 RC (Release Candidate) is planned for january 2010, which means that the API will be definitively freezed at this time. That explains why the 2.0M5 (which is a milestone) does not reflect the actual API. It is simply outdated. Thus, if you intend to build GWT project, we invite you to use the 2.0M6, or even the current snapshot.
In matter of documentation, you may have already had a look at this links which present two sample applications: - http://wiki.restlet.org/docs_2.0/188-restlet.html - http://wiki.restlet.org/docs_2.0/303-restlet.html Best regards, Thierry Boileau > Hi, > > I am confused over the client pattern to use. > > On one hand, I find documentation/mails that speaks of ClientResource, > which IIUIC is not present in the GWT Module/jar of 2.0-M5, and > elsewhere I read of the "new Client( protocol )" usage, where I can't > figure out how to tailor authentication and headers. > > First step; Which of the two is the correct one? > > Step 2; If it is "Client", then how are these things supposed to be done? > My first guess was that one is called to the Uniform.handle() method > before the call is made, but then... it must be called after the call > is completed... > > TIA > > Cheers > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2432000

