From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Wed, 16 Feb 2011 11:37:01 +0100
ah, wrong package.. former is for client side, we have one for server
side as well..
but you should be able to configure it on container level, as others
already suggested.
Pavel
On 02/16/2011 08:12 AM, Pavel Bucek wrote:
> Hello,
>
> please see
> http://jersey.java.net/nonav/apidocs/1.5/jersey/com/sun/jersey/api/client/filter/GZIPContentEncodingFilter.html >
>
> Regards,
> Pavel
>
> On 02/16/2011 12:34 AM, Adam Walczak wrote:
>>> Hello - how can I specify that a Jersey method mapped to a URL can
>>> accept
>>> and return its data using HTTP compression?
>> Hmmm... I don't thinks this is a Jersey specific topic. My intuition
>> tells me that this is should be done in the containers configuration.
>>
>> In glassfish there is a property that tells should the stream be
>> gzip'ed on the http listeners screen in the admin panel.
>>
>> Maybe there are some options in container specific web.xml's or
>> filters that tell "use compression for these url's" ?
>>
>
>