RE: Cannot request resources from GWT client when using Collection as a parmeter?

2010-11-03 Thread Evan Wang
Hey Thierry, Thanks for the new version. I tested, the Collection is working awesome, but the single Object failed which it was working before. I just fresh downloaded the sample code, and I didn't modify. The only thing I did is update the Restlet framework to 2.0.2 in both GWT and GAE, and g

Changing Content-Type on ClientResource

2010-11-03 Thread webpost
I have a ServerResource that uses the @Put("xml") annotation like this: public interface TestResourceInterface { @Put("xml") public TestClass store(TestClass tc); ... } public class TestResource extends ServerResource implements TestResourceInterface { @Override public TestCl

Changing content-type on ClientResource

2010-11-03 Thread webpost
I have a ServerResource that uses the @Put("xml") annotation like this: public interface TestResourceInterface { @Put("xml") public TestClass store(TestClass tc); ... } public class TestResource extends ServerResource implements TestResourceInterface { @Override public TestCl

RE: Socket Exception using Redirector

2010-11-03 Thread webpost
I was able to suppress persistent connections by overriding createComponent and setting the http client's context parameters. I am not sure that is the best way of doing that but it is working now. It is still unsatisfying to suppress persistent connections as using persistent connections is ge

Re: An unexpected status was returned: Communication Error (1001) - sun.security.validator.ValidatorExce

2010-11-03 Thread Bruno Harbulot
Hi, You should be able to pass your own SSLContext (similar to what you'd use with Apache HTTP Client 4) via an SslContextFactory in the "sslContextFactory" attribute, more or less like this: final SSLContext mySslContext = client.getContext().getAttributes().put("sslContextFactory",

Re: Non-blocking remove/reset of Memoizer

2010-11-03 Thread Tim Peierls
I steered Nader to the concurrency-interest discussion group. Still not sure how he got here! :-) --tim On Wed, Nov 3, 2010 at 7:23 AM, Thierry Boileau wrote: > Hello Nader, > > at first glance, I should say your question has not been posted to the > right forum. Does it have any link with the

Re: Forwarding all requests

2010-11-03 Thread Jim Alateras
Jerome, What i would like to do is basically clone the original HTTP request (headers, body etc) that comes into my root restlet and then send that to another instance of the same application running on another remote host. Unfortunately, since Request is not Serializable it isn't obvious how i

RE: Jackson Dependencies

2010-11-03 Thread Thierry Boileau
Hello Doug, this issues has been closed. The fix will be part of the 2.0.2 release and 2.1 M1. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2678380

RE: Non-blocking remove/reset of Memoizer

2010-11-03 Thread Thierry Boileau
Hello Nader, at first glance, I should say your question has not been posted to the right forum. Does it have any link with the Restlet framework? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMe

RE: Forwarding all requests

2010-11-03 Thread Jerome Louvel
Hi Jim, The Redirector isn't a filter, so it isn't directly suitable. I guess you need to write a special Filter and handle some sort of synchronization/rendez-vous between the two parallel calls you want to make. I would need more details on your use case to give more precise advices. Best re