RestEasy 3.0.9禁用GZIP拦截器

时间:2015-06-08 22:37:03

标签: resteasy

取值     RESTEasy默认通过GZIPDecodingInterceptor和GZIPEncodingInterceptor拦截器添加GZIP压缩和解压缩。我试图找出是否有可能禁用这些拦截器。

E.g. If I post a gzipped MultiPart, on the Server side I see that the file is decompressed. I'd like to keep the file compressed and used it in my integration flows.

As per the documentation, @Provider can be enabled disabled through the config below. But it did not work.

<context-param>
        <param-name>resteasy.scan.providers</param-name>
        <param-value>false</param-value>
    </context-param>

Appreciate answers..

0 个答案:

没有答案
相关问题