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