NIOHTTPServer is an incredibly simple HTTP Server implementation with the sole purpose of handling Labrador requests. No static content, no virtual servers, no bells, no whistles. Because some Java 1.4 implementations still don't properly support non-blocking I/O, you may opt to use the StandardHTTPServer class instead of this server.
This server is implemented as a Daemon Thread, so in order to keep the VM alive, you'll have to either call setDaemon(false) or you'll need to have some other Thread keeping the VM alive.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.