Java NIO HttpClients
Java's non-blocking IO (NIO) is a complex, yet amazingly powerful addition to Java to build scalable and performant network applications. The capabilities of Java NIO are particularly impressive if compared with alternative ways in the JRE to connect to web resources over http. Here is a small collection of libraries and tutorial, which can aid in building asynchronous Java NIO based http clients.
Open Source Projects
Project | License | Dependencies |
Async Http Client | Apache 2.0 | Netty 3.9.1 |
httpnio | LGPL | None |
NIO Framework | LGPLv3 | None |
Tutorials/Examples
High-Performance I/O with Java NIO: Nice tutorial with lots of code samples
The Rox Java NIO Tutorial: Great in-depth tutorial, including examples for SSL
SSL Echo Client and SSL Echo Server: SSL Client/Server example using NIO Framework listed above.
Java NIO Tutorials by Jakob Jenkov: Great tutorials to get started with Java NIO
SSL NIO from onjava.com: In depth discussion on SSL and NIO