Re: restlet server

2008-03-18 Thread Jahid
Hi, its nice hearing that in 1.1M4 we are going to have facilities to deploy war project in restlet server. It will be really nice if we can have some running example of how to deploy and run war. I tried with restlet server, but filed to deploy war in restlet server. So, right at this moment I a

File extensions to select variants

2008-03-18 Thread Jerome Louvel
Hi all, We have started to discuss with Chuck Mortimer and Stephan Koops the support of file extensions to influence the content negotiation in Restlet. This is tracked in the following RFE: "Support variant selection based on file extension" http://restlet.tigris.org/issues/show_bug.cgi?id=463

Re: File extensions to select variants

2008-03-18 Thread Stephan Koops
Hello Ralf, the TunnelFilter is a property of the application, not of a resource. You can get the MetadataService (which stores the metadata) from it and use the addExtension methods. best regards Stephan Ralf Bommersbach schrieb: Hello, I personally think this is definitely a great idea

Re: File extensions to select variants

2008-03-18 Thread Ralf Bommersbach
Hello, I personally think this is definitely a great idea! I'm planing to use URIs with extensions to support different media-types in my current project and at the moment I'm just looking at the resourceRef in the resource-class and then manipulate the available variants and so on - its jus

Serving PDF content

2008-03-18 Thread Ben Sgro
Hello, I currently have an application that is in development. I need to return a pdf from the database. I've searched and haven't been able to find information about how to do this w/restlet. Any information is welcome. Thank you, - Ben

RE: StreamClientCall and FH exhaustion

2008-03-18 Thread Jerome Louvel
Hi all, The client should indeed make sure it either consumes the response entity (via getText(), getStream(), etc.) or that it calls the release() method. Otherwise, there indeed seem to be a bug related to the keep alive connections not being closed (after a given timeout?). We have a bug repo

RE: restlet server

2008-03-18 Thread Jerome Louvel
Hi Jahid, Thanks for the feed-back, I've updated the RFE with your comment: http://restlet.tigris.org/issues/show_bug.cgi?id=76 Best regards, Jerome > -Message d'origine- > De : news [mailto:[EMAIL PROTECTED] De la part de Jahid > Envoyé : mardi 18 mars 2008 09:21 > À : discuss@restle

Re: Serving PDF content

2008-03-18 Thread Michael Terrington
Hi Ben, Ben Sgro wrote: I currently have an application that is in development. I need to return a pdf from the database. I've searched and haven't been able to find information about how to do this w/restlet. This is pretty straight forward. It's just a matter of returning a representation

Re: Serving PDF content

2008-03-18 Thread Adam Rosien
I often (almost every time!) forget to write getVariant().add(new Variant(...)) in my code. Perhaps we could brainstorm about making this less error-prone. .. Adam On Tue, Mar 18, 2008 at 4:29 PM, Michael Terrington <[EMAIL PROTECTED]> wrote: > Hi Ben, > > > Ben Sgro wrote: > > I currently hav