I think the biggest question is: why are you building this?
If this is for personal development, I will stick to any standard libraries that come with your JDK and build them on top of that.
If, on the other hand, you have a specific application that needs a dedicated HTTP server, I would try to take one of the open source servlet containers, such as Jetty or Tomcat, and rely on them.
source share