Class SocketIoWebsocketConfigurer

  • All Implemented Interfaces:
    org.springframework.web.socket.config.annotation.WebSocketConfigurer

    @Configuration
    @EnableWebSocket
    public class SocketIoWebsocketConfigurer
    extends Object
    implements org.springframework.web.socket.config.annotation.WebSocketConfigurer
    Sets up a websocket endpoint for the socket io server.
    • Constructor Detail

      • SocketIoWebsocketConfigurer

        public SocketIoWebsocketConfigurer​(EngineIoHandler engineIoHandler)
        Creates the websocket configurer.
        Parameters:
        engineIoHandler - the engine io handler
    • 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