https://github.com/3redronin/mu-server
A lightweight modern webserver for Java
https://github.com/3redronin/mu-server
java sse webserver
Last synced: 2 days ago
JSON representation
A lightweight modern webserver for Java
- Host: GitHub
- URL: https://github.com/3redronin/mu-server
- Owner: 3redronin
- License: mit
- Created: 2017-12-05T13:03:35.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-09-13T08:44:30.000Z (4 months ago)
- Last Synced: 2025-12-10T11:59:48.501Z (about 1 month ago)
- Topics: java, sse, webserver
- Language: Java
- Homepage: https://muserver.io/
- Size: 6.16 MB
- Stars: 58
- Watchers: 10
- Forks: 21
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-java - MuServer
README


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