Newbie question: How to stream data between RESTlets

2007-10-12 Thread Erik Vullings
Hi, I have two RESTlets, one acting as a sensor, the other as a detector. The sensor serves data that is consumed by the detector. Since the sensor RESTlet continuously generates data, I want to stream this data to the detector(s) RESTlet. What's the best way to do this? And what kind of

Re: Issue using StatusService

2007-10-12 Thread Davide Angelocola
Hi Jerome, On Thursday 11 October 2007 21:57:02 Jerome Louvel wrote: When an exception or error is thrown, is it ultimately caught by the Application's StatusFilter: public void doHandle(Request request, Response response) { try { super.doHandle(request,

Re: Newbie question: How to stream data between RESTlets

2007-10-12 Thread John D. Mitchell
On 10/12/07, Erik Vullings [EMAIL PROTECTED] wrote: [...] I have two RESTlets, one acting as a sensor, the other as a detector. The sensor serves data that is consumed by the detector. Since the sensor RESTlet continuously generates data, I want to stream this data to the detector(s) RESTlet.

Re: Newbie question: How to stream data between RESTlets

2007-10-12 Thread Rob Heittman
Interesting question on a number of levels. Are you using HTTP as the transport mechanism, or your own protocols following REST principles? In the absence of a correct and bounded Content-length header property, you will have problems with a number of client and server libraries, and

Re: HEAD not well supported?

2007-10-12 Thread Sean Landis
Tim Peierls tim at peierls.net writes: There's a false parallel here that I don't think should be encouraged by providing parallel names. getRepresentation takes a Variant argument, handleGet does not; post takes a Representation argument, handlePost does not. If anything, I'd argue for names

Re: HEAD not well supported?

2007-10-12 Thread Kyrre Kristiansen
I have always been a bit unsure of which methods to override for the different verbs/methods, always considering it a bit of a nuisance and a potential put-off for new adopters (I'm carrying on about the potential problems to new restlet implementors, but it's only because I believe it's one of

Cache-control header long term strategy

2007-10-12 Thread Rob Heittman
trunk sends the deprecation INFO message when setting Cache-control via the addAdditionalHeaders hack. The Cache-control header setting is important for trying to interoperate with certain browsers. I searched but did not find any traffic on the planned means for supporting it. I'd love to