astempfel
2013-07-03 13:38:47 UTC
astempfel [https://community.jboss.org/people/astempfel] created the discussion
"Resteasy @GZIP: Not in GZIP format"
To view the discussion, visit: https://community.jboss.org/message/826183#826183
--------------------------------------------------------------
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
[https://community.jboss.org/message/826183#826183]
Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
"Resteasy @GZIP: Not in GZIP format"
To view the discussion, visit: https://community.jboss.org/message/826183#826183
--------------------------------------------------------------
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
[https://community.jboss.org/message/826183#826183]
Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]