Howdy, >no answer??
You must be in a big rush -- I just got the message, I figure others may have not even checked their mail yet ;) >There is currently no way in the Servlet spec to know the number >of bytes that have been read as a ServletRequest is being processed. >By the time Servlet.service() or Filter.doFilter() are called, >the *entire* InputStream has been read from the socket. > >But what if one is trying to implement certain behavior after every >n bytes have been consumed? There is presently no way to do this >without writing a custom Servlet Container (or extending Coyote). I'm not a big fan of the request, for two reasons: - It's too low-level for the spirit of the Servlet Specification, - It'd be hard for the container to support these listeners in a performant manner. The above are just IMHO, off the top of my head, without thinking about it much. What's a realistic use-case? As to your other question: I've never seen this request before. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]