NOTE: you have to use OpenJDK to tun this sample. More details: TBD
From the command line, run
$ mvn clean install
From the command line, run
$ mvn spring-boot:run
From the command line, run
java -Xbootclasspath/p:$HOME/.m2/repository/org/mortbay/jetty/alpn/alpn-boot/8.1.12.v20180117/alpn-boot-8.1.12.v20180117.jar -jar target/http2-0.0.1-SNAPSHOT.jar
In your IDE, you have to run the Http2Application
class and customize your run configuration to add a JVM argument:
-Xbootclasspath/p:$HOME/.m2/repository/org/mortbay/jetty/alpn/alpn-boot/8.1.12.v20180117/alpn-boot-8.1.12.v20180117.jar
or use command line
curl --http2 -k -v https://localhost:8443