Registry / networking / websocket-api

websocket-api

JSON →
library9.4.58.v20250814javamavenunverified

WebSocket API for the Eclipse Jetty server.

<dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-api</artifactId> <version>9.4.58.v20250814</version> </dependency>
INSTALL
IMPORT
SIG · WEBSOCKET-API
W
websocket-api
networkingjavav9.4.58.v20250814
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.

WebSocketAdapter
✓ org.eclipse.jetty.websocket.api

Create a WebSocket endpoint by extending WebSocketAdapter.

import org.eclipse.jetty.websocket.api.Session; import org.eclipse.jetty.websocket.api.WebSocketAdapter; public class MySocket extends WebSocketAdapter { @Override public void onWebSocketText(String message) { System.out.println("Received: " + message); } }
Debug
Known issues
breakingJetty 9.x is end-of-life; consider upgrading to Jetty 12.
fix
Use org.eclipse.jetty.websocket:websocket-core-server for Jetty 12.
affects: 9.4.x
Upgrade
Version history
9.4.58.v20250814latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
22
Amazon
1
OpenAI (training)
1
Resources
websocket-api — mvn dependency:get websocket-api · libregistry