java HttpClient 解压缩zip
时间: 2024-01-28 17:37:43 浏览: 166
基于Java的XML写的RSS阅读器.zip
要获取HttpClient中获取到的文件的二进制流,您可以执行以下步骤:
1. 发起HTTP请求并获取响应:
```java
HttpClient client = HttpClientBuilder.create().build();
HttpGet request = new HttpGet("http://example.com/file.txt");
HttpResponse response = client.execute(request);
阅读全文