A modern Java web server, based on Netty. Currently in beta.
Please visit https://muserver.io for full documentation.
Getting started is as easy as:
MuServer server = MuServerBuilder.httpsServer()
.addHandler(Method.GET, "/blah/{id}",
(request, response, pathParams) -> {
response.write("The ID is " + pathParams.get("id"));
})
.start();
- Flexible routing
- Convenient access to headers, forms,query strings, cookies, request bodies and responses
- Static resource handling
- HTTPS support including Let's Encrypt integration
- Server Sent Events
- Built in JAX-RS support
- File upload support
- Async handler support
- and more. See https://muserver.io/ for more information.