dev@jsr311.java.net

Re: JSR311: entity provider

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Thu, 17 Jul 2008 18:10:22 -0400

The spec/javadoc currently says that entity providers shouldn't close
the stream, I don't think it needs to say anything more ?

Marc.

On Jul 17, 2008, at 12:28 PM, Bill Burke wrote:

> I think the JAX-RS runtime implementation should be closing the
> stream. YOu can't implement multipart provider very well if the
> stream is closed , as you said.
>
> Stephan Koops wrote:
>> Hi,
>> is it the responsibility of an entity provider, to check the length
>> of the entity, or must the runtime environment must close the
>> stream? This could be interesting if someone wants to read a
>> "mutlipart/whatever" entity.
>> best regards
>> Stephan
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
>> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>

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