Skip to content

programingjd/alpn_boot

Repository files navigation

jcenter

alpn_boot

A java library for ALPN (used for HTTP2 negociation).

Download

The maven artifacts are on Bintray and jcenter.

Download the latest jar.

Maven

Include those settings to be able to resolve jcenter artifacts.

<dependency>
  <groupId>info.jdavid.alpn</groupId>
  <artifactId>alpn-boot</artifactId>
  <version>8.212</version>
</dependency>

Gradle

Add jcenter to the list of maven repositories.

repositories {
  jcenter()
}
dependencies {
  compile 'info.jdavid.alpn:alpn-boot:8.212'
}

Usage

You should use the version that matches your jdk version.

dependencies {
  compile "info.jdavid.alpn:alpn-boot:${getJDKVersion()}"
}

static def getJDKVersion() {
  def v = Runtime.class.getPackage().getImplementationVersion()
  return v.replaceFirst('1\\.([78])\\.0_([0-9]+)', '$1.$2')
}
java -Xbootclasspath/p:alpn-boot.jar ...

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages