ruzhila / java-nio-http-download

A java nio http client download tool, 200 line of java code

Home Page:https://ruzhila.cn/?from=github_java_nio_download

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A java nio http client download tool, 200 line of java code

https://ruzhila.cn/?from=github_java_nio_download

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Java 100.0%