Registry / networking / alpn-api

alpn-api

JSON →
library1.0.0javamavenunverified

Provides the API for Application-Layer Protocol Negotiation (ALPN) used by Jetty.

<dependency> <groupId>org.eclipse.jetty.alpn</groupId> <artifactId>alpn-api</artifactId> <version>1.0.0</version> </dependency>
INSTALL
IMPORT
SIG · ALPN-API
A
alpn-api
networkingjavav1.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

Example of implementing an ALPN client provider.

import org.eclipse.jetty.alpn.ALPN; ALPN.ClientProvider provider = new ALPN.ClientProvider() { @Override public void unsupported() {} @Override public List<String> protocols() { return List.of("h2", "http/1.1"); } @Override public void selected(String protocol) {} };
Debug
Known issues
gotchaALPN API is low-level and requires careful handling of protocol negotiation.
fix
Use higher-level Jetty client/server APIs that handle ALPN automatically.
affects: all
Upgrade
Version history
1.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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