Registry / networking / javax-websocket-client-impl

javax-websocket-client-impl

JSON →
library9.4.58.v20250814javamavenunverified

The Eclipse Jetty project's implementation of the Java WebSocket client API (JSR 356).

<dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>javax-websocket-client-impl</artifactId> <version>9.4.58.v20250814</version> </dependency>
INSTALL
IMPORT
SIG · JAVAX-WEBSOCKET-CL
J
javax-websocket-client-impl
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.

WebSocketClient
org.eclipse.jetty.websocket.client.WebSocketClient

Creates a WebSocketClient and connects to a WebSocket endpoint.

import org.eclipse.jetty.websocket.client.WebSocketClient; import java.net.URI; public class Example { public static void main(String[] args) throws Exception { WebSocketClient client = new WebSocketClient(); client.start(); client.connect(new WebSocketAdapter(), new URI("ws://example.com/ws")); } }
Debug
Known issues
gotchaJetty 9.x is in maintenance mode; consider upgrading to Jetty 12 for new projects.
fix
Use Jetty 12.x for new projects.
affects: >=9.0.0 <10.0.0
Upgrade
Version history
9.4.58.v20250814latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
javax-websocket-client-impl — mvn dependency:get javax-websocket-client-impl · libregistry