public static synchronized void websocket ( String url , AbstractReceiveListener endpoint ) { checkStarted ( ) ; instance ( ) . endpoints . add ( HandlerUtil . websocket ( url , endpoint ) ) ; }
Define a Websocket endpoint . Supports path variables