Reputation: 6450
Wondering if anyone has set up GZIP compression for Spring HttpInvoker requests using Tomcat, and what steps are necessary?
Also, any advice on whether it's actually worth it; is there much to be gained from trying to compress what are basically serialized Java objects, or do they not really reduce in size much?
Thanks,
Brian
Upvotes: 2
Views: 5913
Reputation: 69002
Extend SimpleHttpInvokerRequestExecutor
and override the I/O methods with GZIPInput/Output-Stream example
Upvotes: 2
Reputation: 5696
If you can put Apache in front of Tomcat then you'd do it using Apache web server
Upvotes: 0