Re: Adding addition headers with S3 to make content private ie. X-Amz-Acl:private

2008-07-07 Thread Thierry Boileau
Hello Kappytown, I looked at am example online and the example use ParameterList Do you remember where is located such sample code in order to fix this? best regards, Thierry Boileau I am building a service that allows the storage of files on amazon s3 using the Restlet framework but I need

Re: Routing based on URI parameters?

2008-07-07 Thread Marcus Edwards
Thierry, Thanks for this, it is a perfect solution. I had tried a couple of approaches, one using Filters and one subclassing Router as you have done. However, none of them match the conciseness and express the intent better than your solution. Thanks,

Re: Unwanted removal of attribute suffix in Tomcat environment

2008-07-07 Thread Thierry Boileau
Hello Lutz, originally the extension filter was turned on by default. Since this behaviour is quite disturbing for unaware people, we decided to turn it off by default. As far as I know, two services rely on the metadataService (the one that declares the list of known extension) :

Re: GZIPed JSON

2008-07-07 Thread Thierry Boileau
Hello Takenori, you can use the Encoder filter (http://www.restlet.org/documentation/1.1/nre/com/noelios/restlet/application/Encoder.html) which is able to compress automatically the response's entity according to the client's preferences (based on the header accept-encoding). This filters

Re: GZIPed JSON

2008-07-07 Thread Thierry Boileau
Hi Takenori, the Encoder has two attributes : a list of accepted media-types for compression, and a list of ignored data types. If the latter contains the media-type of your representation then no compression occurs. By default, this list contains the following media types which should be

Re: GZIPed JSON

2008-07-07 Thread Takenori Sato
I see, thanks. I will take a closer look at it! Takenori

Re: Hanging on ServerSocket.accept()

2008-07-07 Thread Paul J. Lucas
On Jul 4, 2008, at 3:57 AM, Jerome Louvel wrote: What do you mean by launching 1/10 times? I mean that the problem only manifests immediately after launch (if it manifests at all). The problem never manifests if the software has been running OK for a while (meaning it has been servicing

Map with ? vs Object in Generic declarations

2008-07-07 Thread Klotz, Leigh
We've noticed in the 1.1 API that some methods MapString,Object instead of MapString,? in cases where the map is readonly, for example in org.restlet.util.Template.format(MapString,Object values). It would be helpful in the readonly maps were represented using ? instead of Object. Leigh.

Re: SSL + Virtual Hosts and Issue #489?

2008-07-07 Thread Alex Milowski
On Thu, Jul 3, 2008 at 2:36 PM, Bruno Harbulot [EMAIL PROTECTED] wrote: There can only be one certificate per IP address (unless using a different port), thus one certificate per connector. (An exception to this would be to use something like what GnuTLS does [1], but I've never seen it used

Re: XForm integration with the RestLet framework possible?

2008-07-07 Thread Avi Flax
On Fri, Jul 4, 2008 at 3:41 PM, ilango [EMAIL PROTECTED] wrote: I have an XForm built on the OPS XForms processor. Rather than use the OPS pipelines for connecting my XForms to datasources I would like to use the Restlet Framework to connect my XForm fields to datasources like MySQL, a Web

Re: XForm integration with the RestLet framework possible?

2008-07-07 Thread ilango
Hi Could you elaborate more on this Resource subclass? thanks ilango --- On Mon, 7/7/08, Avi Flax [EMAIL PROTECTED] wrote: From: Avi Flax [EMAIL PROTECTED] Subject: Re: XForm integration with the RestLet framework possible? To: discuss@restlet.tigris.org Date: Monday, July 7, 2008, 3:39 PM