gzipstream - Resteasy generally enable GZIP -


i have resteasy + java ee application. when add @gzip component class, server-answer gzipped, if client sends "accepts:gzip"

is there way enable gzip components? don't add annotation every class.

i'm using resteasy jax-rs 3.0.1

no, there no way annotations enable gzip resources. if wanted forego adding annotation every class create servlet filter looks @ incoming headers , gzips response on way out.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -