title: glassfish response not getting in gzip compressed
body: <p>i am working on java with Netbeans IDE and glassfish 3.1.2 i have created in rest services using jaxrs. when request from client is made ,i need to send json data in compressed format.to do this i have enabled the compression in glassfish as shown the following picture</p>
  
  <p><img src="https://i.stack.imgur.com/IE9u0.png" alt="enter image description here"></p>
  
  <p>but response got from the server is not compressed using gzip. it is receiving as normal json data. what should i do to overcome this issue</p>