Understood, but I'm partly convinced.
Agreed that the tests logic we use here must be encapsulated in the handler and this is obvious because the code has been duplicated here and in the Tomcat valves.
Though, I'm not sure to see the benefit of having multiple handlers,..