> I m new to apache karaf, I wanted to enable the gzip compression at jetty
> web server level in karaf.
> My application doesn't have web.xml
> Please suggest, how to acheive compression
> View this message in context: http://karaf.922171.n3.nabble.com/Compression-in-karaf-tp4030841.html > Sent from the Karaf - Dev mailing list archive at Nabble.com.
you'll find plenty of samples at the Pax-Web GitHub project. 
If you want to use the HttpService as you've done before, you'll just need
to register a compression filter as I've send you before. 
You'll find a sample on how to register filters with Pax-Web at .
Another way of using filters is to use a WAB . There you need to
register your compression filter also, as JB mentioned first.
There is nothing directly to be configured for Jetty.