Hi Niclas,
> * ext.json depends on Google's Json classes, and I think that
therefore the module should inherit the Google one.
Isn't that the case? Do you think about the JSON.gwt.xml file that looks
like:
<module>
<inherits name='com.google.gwt.user.User' />
<inherits name='com.google.gwt.json.JSON' />
</module>
>Secondly, I presume that clientResource.getChallengeRequest() after
construction will return a mutable instance that can be used to set up
headers and auth... Right?
Actually, the ChallengeRequest is sent by the server. The client send a
ChallengeResponse object...
You can have a look at the sample code :
http://wiki.restlet.org/docs_2.0/188-restlet.html
Best regards,
Thierry Boileau
> Ok,
> Since I use JSON, and the ext.json was missing the GWT module
> definition, I kind of 'forced' ;-) into SNAPSHOT after all.
>
> So, first spontaneous observation;
>
> * ext.json depends on Google's Json classes, and I think that
> therefor the module should inherit the Google one.
>
> Secondly, I presume that clientResource.getChallengeReequest() after
> construction will return a mutable instance that can be used to set up
> headers and auth... Right?
>
>
> Cheers
>
> On Tue, Dec 22, 2009 at 1:19 PM, Niclas Hedhman <[email protected]> wrote:
>
>> On Mon, Dec 21, 2009 at 10:48 PM, Thierry Boileau
>> <[email protected]> wrote:
>>
>>> 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
>>>
>> Ok, thanks. I will try to use M6 (can't use SNAPSHOT, since I have my
>> own 'release' and Maven refuse releasing with SNAPSHOT deps).
>>
>>
>> Cheers
>> --
>> Niclas Hedhman, Software Developer
>> http://www.qi4j.org - New Energy for Java
>>
>> I Â live here; http://tinyurl.com/2qq9er
>> I Â work here; http://tinyurl.com/2ymelc
>> I relax here; http://tinyurl.com/2cgsug
>>
>>
>
>
>
>
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2432230