You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Clemens Eisserer <li...@gmail.com> on 2006/12/15 18:22:11 UTC
Should I manually buffer my streams I get from the servlet-container?
Hello,
I wonder wether I should manually buffer the streams I get from
HttpRequest/HttpResponse by wrapping it in an Buffered****Stream?
Is does Tomcat (and whats about other servlet containers) take care
about Buffereing?
Furthermore are the streams provided by Tomcat synchronized?
Thank you in advance, lg Clemens
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Should I manually buffer my streams I get from the servlet-container?
Posted by Tim Funk <fu...@joedog.org>.
Do not perform your own buffering - its already done by the container.
The streams are not synchronized - but they don't need to be.
-Tim
Clemens Eisserer wrote:
> Hello,
>
> I wonder wether I should manually buffer the streams I get from
> HttpRequest/HttpResponse by wrapping it in an Buffered****Stream?
> Is does Tomcat (and whats about other servlet containers) take care
> about Buffereing?
>
> Furthermore are the streams provided by Tomcat synchronized?
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org