Class 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:
    SessionManager
    • Constructor Detail

      • WebSocketConfig

        public WebSocketConfig()
    • Method Detail

      • registerWebSocketHandlers

        public void registerWebSocketHandlers​(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)
        Specified by:
        registerWebSocketHandlers in interface org.springframework.web.socket.config.annotation.WebSocketConfigurer