Skip to content

Instantly share code, notes, and snippets.

@jfarcand
Created November 25, 2010 20:35
Show Gist options
  • Save jfarcand/715880 to your computer and use it in GitHub Desktop.
Save jfarcand/715880 to your computer and use it in GitHub Desktop.
AsyncHttpClientConfig config = new AsyncHttpClientConfig.Builder();
config.enableResumableDownload(true);
AsyncHttpClient c = new AsyncHttpClient(config.build());
c.prepareGet("http://...").execute(yourAsyncHandler);
@jfarcand
Copy link
Author

Or

config.setResumableDownloadProcessor(new ResumableDownloadProcesssor());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment