-
Notifications
You must be signed in to change notification settings - Fork 0
Home
zhenya edited this page Feb 2, 2020
·
11 revisions
NanoHTTP is simple, easy-to-use, lightweight HTTP Client for Java 8.
Traditionally, if you wanted to do an HTTP call in Java, you had to use the HttpURLConnection class in the java.net package. Unfortunately HttpURLConnection is a low-level API that is unintuitive at best and downright awful at worst. The resulting code is cumbersome and hard to understand. If you’re wondering what a nightmare the API is, see this StackOverflow post.
NanoHTTP solves this by wrapping HttpURLConnection in a user friendly API.
In this wiki I will try to provide a readable user guide with some simple examples to demonstrate the most common features of NanoHTTP.