|Re: [jetty-dev] Looking for Jetty HttpClient that downloads large zip files ...|
On Wed, Sep 14, 2016 at 8:47 PM, Simone Bordet <sbordet@xxxxxxxxxxx> wrote:
> For 1 GiB downloads, you want to save to a file.
> I will expand the documentation.
The idea is to open a FileChannel, and for each invocation of
onContent(), you write the ByteBuffer to the
If there is an error, you close the file and call Response.abort().
If all good, you close the file in Response.SuccessListener.
Developer advice, training, services and support
from the Jetty & CometD experts.
jetty-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
Back to the top