Samiksha Jaiswal (Editor)

NanoHTTPD

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Initial release
  
2003-09-15

Operating system
  
Cross-platform

Written in
  
Java

Original author(s)
  
elonen, ritchieGithub, LordFokas, psh

Stable release
  
2.3.1 / August 12, 2016; 7 months ago (2016-08-12)

Preview release
  
3.0.0 / December 13, 2016; 3 months ago (2016-12-13)

NanoHttpd is an open-source, small-footprint web server that is suitable for embedding in applications, written in the Java programming language. The source code consists of a single .java file. It can be used as a library component in developing other software (such as measurement, science, and database applications) or as a standalone ad-hoc style HTTP daemon for serving files.

NanoHttpd is available in 2 "flavors" - one utilizing up-to-date Java features and one strictly conforming to Java 1.1. Due to independence from Java features beyond JDK 1.1, NanoHttpd is suited for embedded application development. NanoHttpd has been used to build, for example, Android software.

The original version, released in 2003, only included simple HTTP 1.0 features, but the software has been since been extended to support some more advanced techniques such as HTTP 'keep-alive' connections, full REST style HTTP Methods, HTML5 video streaming or HTTP uploading through multipart extensions. Current version includes Websocket and experimental HTTPS Support.

References

NanoHTTPD Wikipedia