public class WebSocketManager extends Object
Constructor and Description |
---|
WebSocketManager() |
Modifier and Type | Method and Description |
---|---|
static void |
add(String key,
org.springframework.web.socket.WebSocketSession session) |
static org.springframework.web.socket.WebSocketSession |
get(String key) |
static org.springframework.web.socket.WebSocketSession |
remove(String key) |
static void |
removeAndClose(String key) |
public static void add(String key, org.springframework.web.socket.WebSocketSession session)
public static org.springframework.web.socket.WebSocketSession remove(String key)
public static void removeAndClose(String key)
public static org.springframework.web.socket.WebSocketSession get(String key)
Copyright © 2022. All rights reserved.