Undertow is a flexible performant web server written in java, providing both blocking and non-blocking API’s based on NIO.
Server
<dependency>
<groupId>org.jooby</groupId>
<artifactId>jooby-undertow</artifactId>
<version>1.2.3</version>
</dependency>In order to use a web server all you have to do is add the dependency to your build system.
HTTP/2 is fully supported:
| H2 | H2C | PUSH |
| --------- | ------------- | ----- |
| Yes | Yes | Yes |
You need Java 8 Update 71 or higher (integration tests uses Java 8 Update 101).
See Java 8 releases for more details.