public WebSocketContext reTag ( String label ) { WebSocketConnectionRegistry registry = manager . tagRegistry ( ) ; registry . signOff ( connection ) ; registry . signIn ( label , connection ) ; return this ; }
Re - Tag the websocket connection hold by this context with label specified . This method will remove all previous tags on the websocket connection and then tag it with the new label .