Porting restlets in Go language

2010-08-30 Thread Xavier Méhaut
Hello, I know it is a little bit out of scope, but I would like to know if porting Restlets in Go language would interest someone. I'm quite sure that Go will become an important language in a foreseeable future, and its characteristics would suit perfectly for restlets too, especially its

Restlets in both https and http at the same time

2010-08-30 Thread Xavier Méhaut
Hello, I would like to know if it is possible to have at the same time both HTTPS and HTTP access to the same restlets? The use case is the following : my restlet server (not into a servlet container) must be access locally and remotely ; I would like locally to access it in HTTP, and remotely in

RE: A problem concerning JsonConverter

2010-08-30 Thread Jerome Louvel
Hi Alex, Thanks for your report. I've just fixed the potential NPE in the JsonConverter class and in other similar converters. Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg Noelios Technologies ~ http://www.noelios.com -Message d'origine- De :

RE: Restlets in both https and http at the same time

2010-08-30 Thread Jerome Louvel
Hi Xavier, This is definitely possible, just declare two server connectors, one with the Protocol.HTTP value and the other with Protocol.HTTPS and the required configuration parameters. Of course, they’ll listen on separate ports (80 and 443 by default). Both connectors will route calls to

RE: Problem in ConnegUtils.getPreferredMetadata()

2010-08-30 Thread Jerome Louvel
Hi Daniel, Thanks for the report, I've just fixed it in SVN trunk. Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg Noelios Technologies ~ http://www.noelios.com -Message d'origine- De : webp...@tigris.org [mailto:webp...@tigris.org] Envoyé :

Felix JaxB Extension

2010-08-30 Thread Stephane
Hello, When I try to run Restlet Extension - JAXB (2.0.0.0) bundle in Felix, it seems that the jaxb package is not found, the following error occured : INFO: Unable to register the helper org.restlet.ext.jaxb.JaxbConverter java.lang.ClassNotFoundException: org.restlet.ext.jaxb.JaxbConverter

RE: Intermittent Errors

2010-08-30 Thread webpost
Update: I switched form the 2.0.0 (stable) version to the latest snapshot, and things seem somewhat improved. I was seeing quite a lot of NPE's usually trying to access the request entity and also a lot of socket timeouts, but after 50+ tests I only had one socket timeout failure (previously

Re: Restlets in both https and http at the same time

2010-08-30 Thread Stephan Koops
I think you only have to ensure that connectors for both protocols are available, add the protocoll to your server, and everythink should work fine.best regards Stephan Von: "Xavier Mhaut" xavier.meh...@free.frGesendet: 30.08.2010 09:30:12An: discuss@restlet.tigris.orgBetreff: Restlets in both

RE: Wrong @Get method is called after negotiation

2010-08-30 Thread Björn Harrtell
I can confirm that too. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2652416

RE: Negotiation problems with @Get annotation

2010-08-30 Thread Björn Harrtell
Thanks, that makes sense. I was using the 2.0.0 GAE testing release. Switching to the 2.0 GAE unstable snapshot seems to have resolved the issue so it's likely I was affected by the issue you describe. --

GWT XMLHttpRequest How to set 'withCredentials'

2010-08-30 Thread webpost
Sorry, I think I'm being a bit af a noob, but I have searched without success to find how your set 'withCredentials' attribute of the underlying XMLHttpRequest in retlet RPC calls in GWT. And yes (before somebody asks) I am doing XSS ;-) PLEASE could somebody point me in the right direction.

RE: WARNING: Unable to find a converter for this representation : [application/x-java-serialized-object]

2010-08-30 Thread Dalla
Turns out there was an exception on the server side, and the object I expected was never returned. Works fine now! -- View this message in context:

RE: Jackson Dependencies

2010-08-30 Thread webpost
Hi Thierry, Re #1: The FAQ modification looks great. That last sentence would have put me on the right trail. Why return 405 instead of 500 in a case like this, though? Re #2: Absolutely makes sense. Thanks! // Doug --

Re: More RIAP Features?

2010-08-30 Thread Xavier Mehaut
hello jerome i don t know if this proposition falls into this category, but it could be nice to have a video resource with several representations, eg h264 into several video container, or mpeg4 or webm, ... so we could have easily a http video server with restlets like the one we may have with

Re: Best way to get automatic JavaScript minification in Restlet

2010-08-30 Thread Thierry Boileau
Hello Tim, I'm sorry for my very late answer. You can also wrap the response's representation into a custom one that aims at applying the minification process. You can have a look at the Encoder filter, especially in the encode method which uses an EncodeRepresentation. Best regards, Thierry

RE: WARNING: Unable to find a converter for this representation : [application/x-java-serialized-object]

2010-08-30 Thread Dalla
Yes it does. Really wierd error this one, since one resource is working and the other is not... /Daniel -- View this message in context: