karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <ben...@basistech.com>
Subject Re: Enabling compression of HTTP responses when using osgi-jax-rs-connector
Date Fri, 08 Jul 2016 18:52:18 GMT
Indeed, I very much doubt it. I'm afraid I have CXF on the brain.

On Fri, Jul 8, 2016 at 2:34 PM, Marc Durand <marc.durand@gmail.com> wrote:
> I am not sure how a CXF annotation can work in my case - I am not using CXF
> at all.  I am using Jersey and OSGI-JAX-RS-Connector.
>
> On Fri, Jul 8, 2016 at 2:12 PM, Benson Margulies <benson@basistech.com>
> wrote:
>
>> org.apache.cxf.annotations.GZIP
>>
>> On Fri, Jul 8, 2016 at 2:05 PM, Marc Durand <marc.durand@gmail.com> wrote:
>> > Thanks Benson for the quick response.  What is the package name of that
>> > annotation?
>> >
>> > Marc
>> >
>> > On Fri, Jul 8, 2016 at 1:46 PM, Benson Margulies <benson@basistech.com>
>> > wrote:
>> >
>> >> @GZIP on the resource class works for me.
>> >>
>> >>
>> >> On Fri, Jul 8, 2016 at 1:44 PM, Marc Durand <marc.durand@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.
>> >>
>>

Mime
View raw message