Package org.vrspace.server.config
Class WebSocketConfig
java.lang.Object
org.vrspace.server.config.WebSocketConfig
- All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketConfigurer
@Configuration
@EnableWebSocket
public class WebSocketConfig
extends Object
implements org.springframework.web.socket.config.annotation.WebSocketConfigurer
Configures WebSocket path (default:/vrspace) and allowed origins (default:*)
- Author:
- joe
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerWebSocketHandlers
(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)
-
Constructor Details
-
WebSocketConfig
public WebSocketConfig()
-
-
Method Details
-
registerWebSocketHandlers
public void registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry) - Specified by:
registerWebSocketHandlers
in interfaceorg.springframework.web.socket.config.annotation.WebSocketConfigurer
-