@GZIP on the resource class works for me.
On Fri, Jul 8, 2016 at 1:44 PM, Marc Durand <marc.dur...@gmail.com> wrote: > I have successfully added a gzip filter to the default web container in Karaf > and responses coming from regular servlets are compressed. This filter does > not seem to apply to REST responses that are produced through the > osgi-jax-rs-connector bundle. How can I enable compression of REST > responses in Karaf? > > Thanks in advance! > Marc > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Enabling-compression-of-HTTP-responses-when-using-osgi-jax-rs-connector-tp4047174.html > Sent from the Karaf - Dev mailing list archive at Nabble.com.