Registry / networking / jakarta-websocket-client-api

jakarta-websocket-client-api

JSON →
library2.2.0javamavenunverified

Provides the client-side API for WebSocket communication in Jakarta EE.

<dependency> <groupId>jakarta.websocket</groupId> <artifactId>jakarta.websocket-client-api</artifactId> <version>2.2.0</version> </dependency>
INSTALL
IMPORT
SIG · JAKARTA-WEBSOCKET-
J
jakarta-websocket-client-api
networkingjavav2.2.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.

ClientEndpoint
jakarta.websocket.ClientEndpoint

Defines a WebSocket client endpoint.

import jakarta.websocket.ClientEndpoint; import jakarta.websocket.OnMessage; @ClientEndpoint public class MyClient { @OnMessage public void onMessage(String message) { System.out.println("Received: " + message); } }
Debug
Known issues
breakingThis is the Jakarta EE 9+ API; use javax.websocket for older versions.
fix
Use jakarta.websocket for Jakarta EE 9+ or javax.websocket for Java EE 8.
affects: >=2.0.0
Upgrade
Version history
2.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
jakarta-websocket-client-api — mvn dependency:get jakarta-websocket-client-api · libregistry