JBoss Community

Resteasy @GZIP: Not in GZIP format

created by astempfel in JBoss Remoting - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in JBoss Remoting at Community