-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rainer,
On 5/15/2009 10:47 AM, Rainer Frey (Inxmail GmbH) wrote: > On Friday 15 May 2009 16:07:11 Christopher Schultz wrote: >> Not likely, since Java doesn't support continuations. >> The request handler thread should handle the request from start to finish. > > Is this explicitly stated somewhere? Java simply does not have continuations, so the thread that calls, say, Filter.doFilter must be the same thread that returns from that same Filter.doFilter call. > There could theoretically be a queue of > Request/Response pairs, and different threads could pick one up, execute one > element in the filter chain, and put the pair back for the next thread. Er, I suppose that's technically possible but there's no reason to do that: pipelineing an HTTP request is pretty silly, since you'd just be adding thread management overhead to a straightforward process. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkoNjJ8ACgkQ9CaO5/Lv0PCkuQCfSsUDQvnqLv6EtP6ida/eP7oK GxgAnAqMLCkrHvsLRyVEsYO63MWeVQVY =mY4K -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org