The servlet API does not expose these details. At best you have the
InputStream to read from. (And use available() if you want to try to
read without blocking (but due to buffering probably won't work anyways))
But since you can't send the response without finishing the reading of
the input stream - the entire question doesn't seem to make sense.
-Tim
Peter Kennard wrote:
I guess the general form of this question is, with HTTP1.1 chunked
input, how do I read "a chunk at a time", which requires I know the
length of the chunk before calling "read()" so if I attempt to read
more than the length of the chunk so I can process it immediately
instead of waiting for subsequent input ??? (in the final chunk case
there is no subsequent input.)
That is without having to put in a second form of chunking inside the
HTTP chunking ??
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]