Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src/main
.gitignore
README.md
pom.xml

README.md

Jetty HTTP/2 Server

  1. Find out the correct version of the ALPN library for your JDK here (scroll to the table at the bottom of the page):

    http://www.eclipse.org/jetty/documentation/current/alpn-chapter.html

  2. Download the ALPN JAR here (replace $ALPN_VERSION with the version found above):

    http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/$ALPN_VERSION/alpn-boot-$ALPN_VERSION.jar

  3. Run as follows (replace $ALPN_VERSION with the version found above):

    mvn package
    java -Xbootclasspath/p:alpn-boot-$ALPN_VERSION.jar -jar target/jetty-http2-echo-server.jar