Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: Performance problem on HTTP PUT of large binary data

Caldarale, Charles R

2007-07-25

Replies:

> From: Christopher Schultz [mailto:chris@(protected)]
> Subject: Re: Performance problem on HTTP PUT of large binary data
>
> - From java.io.InputStream javadoc:
> "Reads some number of bytes from the input stream and stores
> them into the buffer array b. The number of bytes actually
> read is returned as an integer. This method blocks until
> input data is available, end of file is detected, or an
> exception is thrown."
>
> To me, that's a little vague.

That's because InputStream is an abstract class; the actual behavior is
dependent on whatever concrete class is instantiated behind the method
definition.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.