dev@jsr311.java.net

Re: JSR311: Response isn't adequate

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Wed, 12 Mar 2008 09:45:33 -0400

Not wishing to stifle an interesting debate but I'd like to move
towards a conclusion ;-). Can we close this issue with the proposal
below ? It gets Bill an OutputStream that can be used without having
to implement a MessageBodyWriter while not tying up a service thread
as desired by Jerome and Stephan. Seems like a reasonable compromise
to me.

Marc.

On Mar 10, 2008, at 3:59 PM, Marc Hadley wrote:
>
> public interface StreamedOutput {
> void write(OutputStream o);
> }
>
> Which can be returned when you want to do streaming - the spec would
> require implementations to support this type.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.