RE: Architecture question

2009-07-05 Thread Jerome Louvel
Hi Schley, Good feed-back, I've just added an onError(Throwable) method on UniformResource. It is invoked on error or exception in resource initialization, handling or releasing. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~

RE: Nested resource routing

2009-07-05 Thread Jerome Louvel
Hi there, If you have just two levels of nesting for your branches, I suggest that you register additional attachments covering all cases. If you have potentially unlimited nesting, you need to handle this in your resource. In order to have your URI template match several URI path segments, you

RE: Re: Mysterious message in client

2009-07-05 Thread Jerome Louvel
Hi there, On the server-side, you need to use representations that can compute their size in advance such as StringRepresentation and AppendableRepresentation. Again, those messages are just informational and should be filtered out using a proper logging.properties configuration file. Best

RE: Restlet trunk andd GWT issues...

2009-07-05 Thread Jerome Louvel
Hi Brian, Thanks. I've just fixed both issues in SVN trunk. Actually, we are in the middle of some deep build changes that will fully automate the port from the main Restlet source to various editions we now support (GWT, Android, GAE, etc.). I hope that the GWT API will stabilize around what

RE: Timeline for Restlet M4?

2009-07-05 Thread Jerome Louvel
Hi Lars, I would recommand starting with a recent 2.0 snapshot instead of 2.0 M3 if you plan to use the new resource API (ServerResource and ClientResource). We hope to have 2.0 M4 out of the door pretty soon now. We are mainly finalizing the edition port automation and will try to squash as

RE: Premature EOF / Broken Pipe

2009-07-05 Thread Jerome Louvel
Hi Timothy, Thanks for updating us. Let’s keep an eye on it and if you find a way to reproduce it, please let us know! Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org/ http://www.restlet.org Noelios Technologies ~ Co-founder ~

RE: Re: Multiple content types

2009-07-05 Thread Jerome Louvel
Hi Sherif, Could you send us the trace of your HTTP request/response exchange including HTTP headers? I suscept that you Accept header might not be correct. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~

RE: RangeFilter and redirects

2009-07-05 Thread Jerome Louvel
Hi David, Thanks for the report. I've fixed the redirection conflict in SVN trunk and 1.1 branch. Let us know if it works better now. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com

RE: Passing a serialized Java object

2009-07-05 Thread Jerome Louvel
Hi Alfredo, If you have the exact same version of your TimelineDataForUpdate class available of both client and server sides, it should work. Could you send us a reproducible sample and the stack trace? BTW, if you can use the Restlet 2.0 in development, you will see ClientResource and

RE: Issues loading css files (from a Directory) using Firefox

2009-07-05 Thread Jerome Louvel
Hi Bruce, That’s rather unexpected indeed. I’ve checked the text/css media type and it does support the charset parameter: http://tools.ietf.org/html/rfc2318 What seems wrong is the name of the character set. Looking at IANA registry, the proper name is either “macintosh” or “mac”, but

Re: bug?

2009-07-05 Thread Jerome Louvel
Hi Schley, FYI, this has been fixed in SVN trunk. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com Schley Andrew Kutz a écrit : I want to prevent the use of HTTP VERB annotations in order to

Re: bug?

2009-07-05 Thread Schley Andrew Kutz
Great! I'm really looking forward to this and the OnError bit making it into a release. :) -- -a Ideally, a code library must be immediately usable by naive developers, easily customized by more sophisticated developers, and readily extensible by experts. -- L. Stein On Jul 5, 2009, at