We don't need all that functionality... We can capture the bytes and flush them directly.
I'm just afraid of hard-core hacks to make GZip*stream to not block. Those things may usually break in future JDK versions.
As long as you use the public API it's fine.. and I'm not sure you can do that by simply using Gzip*Stream. If you find a door to use it, please post here on the forum.
That seems to make sense. I'll try Infalter/Deflater then. Thanks.