This is sadly the current situation. I just factor this code out the general servlet to be able to overwrite it with async IO for the servlet 3.1.