[undertow-dev] Streaming a ZIP file

Stuart Douglas sdouglas at redhat.com
Fri Sep 1 00:46:57 EDT 2017


You could potentially adapt
io.undertow.conduits.DeflatingStreamSinkConduit, which uses a
java.util.zip.Deflater.

Stuart

On Fri, Sep 1, 2017 at 5:57 AM, Hicks, Matt <matt at matthicks.com> wrote:
> I'm trying to create ZIP files on-demand from the server and stream them
> back to the browser, but I'm not sure the proper way to do this.  The only
> way I can think of is to use a `ZipOutputStream`, but that would be a
> blocking operation.  Is there a better way to do this?
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev


More information about the undertow-dev mailing list