dev@grizzly.java.net

Integrating LZMA support for HTTP module

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Wed, 18 Nov 2009 16:45:11 +0100

Hi,

I wanted to discuss how we can integrate LZMA support for HTTP module,
so Noemax can go ahead with the implementation.
First of all I've created grizzly-lzma module under trunk/extras,
which contains LZMA implementation sources taken from [1].
I'm proposing one patch for ProcessorTask, which will let us support
custom compression filters, not just gzip (attached).

The actual LZMA support should be implemented by LzmaOutputFilter,
provided by Noemax. I propose to put this filter together with
GzipOutputFilter and other OutputFilters into grizzly-utils module,
package "com.sun.grizzly.tcp.http11.filters" . So grizzly-utils module
will have maven dependency on grizzly-lzma module.

What do you think?

Thanks.

WBR,
Alexey.

[1] http://www.7-zip.org/sdk.html