Undertow is a highly performant Java web server which provides both blocking and non-blocking API's based on NIO. The embeddable server is easily configured and also has sane defaults for modern web development. The API is clean and request lifecycle is very straight forward. HttpHandlers are the single purpose building blocks for handling requests and responses and provide you with as much or little flexibility as you need.