Skip to content

ruzhila/java-nio-http-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Nio HTTP Download in Java, 200 lines of code

java-nio-http-download is a pure Java implementation of ruzhila/mget Multi-Thread HTTP Download Tool.

A simple Java NIO example to download files from the internet.

By ruzhila.cn, 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

$ javac Downloader.java
$ java Downloader http://example.org example.html
Downloading...1256
Remaining: 0/1256 bytes
Download completed