Re: JSR311: entity provider

From: Bill Burke <>
Date: Thu, 17 Jul 2008 12:28:33 -0400

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:
> For additional commands, e-mail:

Bill Burke
JBoss, a division of Red Hat