Registry / web-framework / spring-boot-starter-websocket

spring-boot-starter-websocket

JSON →
library4.0.6javamavenunverified

Spring Boot Starter WebSocket provides auto-configuration and dependencies for building WebSocket applications with Spring MVC.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> <version>4.0.6</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-STARTE
S
spring-boot-starter-websocket
web-frameworkjavav4.0.6
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.

WebSocketConfigurer
org.springframework.web.socket.config.annotation.WebSocketConfigurer

Configures a WebSocket endpoint by implementing WebSocketConfigurer.

import org.springframework.web.socket.config.annotation.WebSocketConfigurer; import org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry; public class MyWebSocketConfig implements WebSocketConfigurer { @Override public void registerWebSocketHandlers(WebSocketHandlerRegistry registry) { registry.addHandler(new MyHandler(), "/ws"); } }
Debug
Known issues
breakingSpring Boot 4.x requires Java 17 or later; ensure compatibility with your project.
fix
Upgrade to Java 17+ or use Spring Boot 3.x for Java 11+.
affects: >=4.0.0
Upgrade
Version history
4.0.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
spring-boot-starter-websocket — mvn dependency:get spring-boot-starter-websocket · libregistry