Registry / networking / alpn-boot

alpn-boot

JSON →
library8.0.0javamavenunverified

A pure Java implementation of the Application Layer Protocol Negotiation TLS extension, used to enable HTTP/2 support in Java 8.

<dependency> <groupId>org.mortbay.jetty.alpn</groupId> <artifactId>alpn-boot</artifactId> <version>8.0.0</version> </dependency>
INSTALL
IMPORT
SIG · ALPN-BOOT
A
alpn-boot
networkingjavav8.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ALPN
org.eclipse.jetty.alpn.ALPN

Registers an ALPN server provider to negotiate HTTP/2 protocol.

import org.eclipse.jetty.alpn.ALPN; ALPN.ServerProvider provider = new ALPN.ServerProvider() { @Override public void unsupported() {} @Override public String select(List<String> protocols) { return protocols.contains("h2") ? "h2" : protocols.get(0); } }; ALPN.put(sslEngine, provider);
Debug
Known issues
breakingRequires JVM boot classpath override (-Xbootclasspath/p:) for Java 8; not needed for Java 9+.
fix
Use -Xbootclasspath/p:alpn-boot.jar on Java 8 or upgrade to Java 9+.
affects: <8.0.0
Upgrade
Version history
8.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
18
OpenAI (training)
1
Resources
alpn-boot — mvn dependency:get alpn-boot · libregistry