In the same vein, who is responsible for closing the returned stream in
ContainerResponseWriter writeStatusAndHeaders? the finish method?
On Fri, Aug 31, 2012 at 3:50 PM, Mike Summers <msummers57_at_gmail.com> wrote:
> For MessageBodyReader readerFrom<http://jersey.java.net/nonav/apidocs/latest/jersey/javax/ws/rs/ext/MessageBodyReader.html#readFrom(java.lang.Class,%20java.lang.reflect.Type,%20java.lang.annotation.Annotation[],%20javax.ws.rs.core.MediaType,%20javax.ws.rs.core.MultivaluedMap,%20java.io.InputStream)>,
> what does the doc mean when it says "The caller is responsible for
> ensuring that the input stream ends when the entity has been consumed."?
> That the implementation ensures the mark is at the end of the stream?
>
> We're running into odd problems under load and/or after being up for long
> periods and I'm thinking we have a stream handling problem.
>
> Thanks.
>
>
>