使用 HTTPClient 4 监控下载进度?
谁能告诉我如何使用 HTTPClient 4 监控下载进度? 我对 API 有点迷失了。
Can anyone show me how to monitor the progress of a download using HTTPClient 4 ?
I'm a bit lost in the API.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定使用普通的 httpclient 是否可以帮助您实现这一目标。我认为您可能需要使用 HttpCore 的非阻塞部分。有一个教程。
I'm not sure that using the vanilla httpclient will get you there. I think you may need to use the nonblocking parts of HttpCore. There's a tutorial.