Thanks for your reply, Konstantin and Jess. The main reason for adding this feature to the Container is the same as for all features provided by a Container: My applications should not deal with these details. Currently I'm looking at adding Googles Snappy to some servers. I could add filters to my applications, but if possible, I'd like to get around this, as I'd have to do it to a bunch of applications, partially running on the same Tomcat or JBoss instances. I'm currently thinking about which way to go. Patching Tomcat was not that hard and it was fun anyway. Maintaining a custom Tomcat codeline is something I'd like to avoid (I've already got a customized installation, but this deals only with configuration and packaging). Maybe Jess is right and a ServletFilter is not that bad, grmbl :-) I've already implemented an initial version. It's not ideal, but it's enough for me to play around: |
TC70x_1390896_compression_filter.patch
Description: Binary data
Your feedback is highly appreciated! Best regards, Florian Am 30.09.2012 um 10:42 schrieb Konstantin Kolinko:
|