Morten,

On 4/4/12 12:18 PM, Morten Jorgensen wrote:
> For the cache? The main reason why I use a filter is to be able to
> tie a cache object to a thread-local variable for the period for
> which the request is being processed. As soon as the response is
> streamed to the client the cache is released. If Tomcat already
> contains some internal reference to the current request then I won't
> need to use a filter in this manner. I am not a fan of thread-local
> variables, so I'd very much like to remove the dependency on having
> this filter in place.

I wonder if this Filter would fail to work properly in an asynchronous
context. You would certainly have to test that and document it
appropriately.

-chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to