开发者

Gzipping data in GWT

开发者 https://www.devze.com 2023-03-10 02:12 出处:网络
I have a GWT application that created an XML structure and then posts this to a servlet. Is it possible to gzip this xml doc on the开发者_JAVA技巧 client side before sending it (I have a filter on the

I have a GWT application that created an XML structure and then posts this to a servlet. Is it possible to gzip this xml doc on the开发者_JAVA技巧 client side before sending it (I have a filter on the servlet that will decompress it)

Thanks


I could´t find a javascript implementation for gzip, but I found this stackoverflow thread with basically the same discussion about compression in javascript: JavaScript implementation of Gzip

Maybe you can use some of the suggestions and wrap them with JSNI.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号