Registry / networking / jakarta-websocket-api

jakarta-websocket-api

JSON →
library2.2.0javamavenunverified

Jakarta WebSocket Server API providing annotations and interfaces for WebSocket endpoints.

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

ServerEndpoint
jakarta.websocket.server.ServerEndpoint

Simple WebSocket echo endpoint

import jakarta.websocket.server.ServerEndpoint; import jakarta.websocket.OnMessage; @ServerEndpoint("/ws") public class MyEndpoint { @OnMessage public String echo(String message) { return "Echo: " + message; } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources