NanoHttpd is a lightweight HTTP server designed for embedding in other applications. It's only one Java file, in two "flavors", one strictly Java 1.1 compatible, and one at "current" standards. It supports GET, POST, PUT, HEAD and DELETE requests, and supports file uploading with very small memory overhead. Temp file usage and the threading model are easily customized.
|Tags||HTTP Servers Web Internet RESTful embedded|
|Operating Systems||Mac OS Android Unix Linux|
A little late, but, 2.0.2 (released 2013-06-06) added polish for the webserver, and fixed a bug causing stack-traces on Samsung Phones. Version 2.0.3 (released 2013-06-17) : Implemented 'Connection: keep-alive', tested against latest Mozilla Firefox.
Release Notes: This version adds WbSockets support.
Release Notes: Bug and stability fixes.
Release Notes: This release adds basic cookie support, experimental SSL support, and runtime extensions.
Release Notes: Polish for the Web server, and a fix for a bug causing stack traces on Samsung Phones. 'Connection: keep-alive' was implemented and tested against the latest Mozilla Firefox.