I have a scenario where a Netty server has a GZIP'd buffer, and I'd like to send it as part of a chunked response without inflating/deflating.
By way of illustration: imagine I have three parts:
ChannelBuffer jsonp = "callback("
,ChannelBuffer gzippedData = <gzipped bytes>
,ChannelBuffer jsonpend = ")"
I'd like HttpContentCompressor
to skip gzippedData
, but handle the other chunks.
I don't see an obvious way to do this after reading the code. Suggestions?