Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruzhila/java-nio-http-download
A java nio http client download tool, 200 line of java code
https://github.com/ruzhila/java-nio-http-download
100-line-code campus-project curl http-client java learning-by-doing nio wget
Last synced: about 1 month ago
JSON representation
A java nio http client download tool, 200 line of java code
- Host: GitHub
- URL: https://github.com/ruzhila/java-nio-http-download
- Owner: ruzhila
- License: bsd-3-clause
- Created: 2024-05-08T11:10:00.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-09T04:00:37.000Z (9 months ago)
- Last Synced: 2024-10-29T22:47:49.271Z (3 months ago)
- Topics: 100-line-code, campus-project, curl, http-client, java, learning-by-doing, nio, wget
- Language: Java
- Homepage: https://ruzhila.cn/?from=github_java_nio_download
- Size: 5.86 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A Nio HTTP Download in Java, 200 lines of code
**java-nio-http-download** is a pure Java implementation of [ruzhila/mget](https://github.com/ruzhila/mget) Multi-Thread HTTP Download Tool.
A simple Java NIO example to download files from the internet.
By [ruzhila.cn](http://ruzhila.cn/?from=github_mget_java), a campus for learning backend development through practice.
This is a tutorial code demonstrating how to use Java write NIO . Pull requests are welcome. 👏
## Features
- 👏 Simple Java NIO Example
- HTTP only, HTTPS not supported, coming soon.😬## How to use
```shell
$ javac Downloader.java
$ java Downloader http://example.org example.html
Downloading...1256
Remaining: 0/1256 bytes
Download completed
```