Hi all,
I have scoured the net and understand the following needs to be done to get
your grizzly container to send using gzip.
SelectorThread threadSelector =
GrizzlyWebContainerFactory.create(baseUri, initParams);
threadSelector.setCompression("on");
threadSelector.setCompressionMinSize(0);
threadSelector.setCompressableMimeTypes("text/xml");
However I don't seem to get compressed data being sent through. I have
checked using wireshare and get no content-encoding header sent back. I am
making use of jax-rs for a simple web service. What am I doing wrong?
thanks
-----
http://www.jumpingbean.co.za Jumping bean your java and linux experts
http://www.bondedadsl.co.za Bonded ADSL Solutions
http://www.ip-pbx.co.za Call Centre and Business PBX specialists
--
View this message in context: http://old.nabble.com/How-to-enable-compression-in-Grizzly-Standalone-app--tp28379154p28379154.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.