1 Reply Latest reply on Aug 14, 2013 5:05 PM by ron_sigal

    Resteasy @GZIP: Not in GZIP format

    astempfel

      Hi all

       

      i'm using JBoss AS7 and Resteasy. My resource methods are annotated with @GZIP, but that doesn't work:

       

      Caused by: java.io.IOException: Not in GZIP format

                at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:141)

                at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:56)

                at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:65)

                at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor$FinishableGZIPInputStream.<init>(GZIPDecodingInterceptor.java:30)

                at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.read(GZIPDecodingInterceptor.java:47)

                at org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:108)

                at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.read(GZIPDecodingInterceptor.java:51)

                at org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:108)

       


      Did anybody else have this issue and solved it?

       

      regards

      angela