@ Handler public void onUpgraded ( Upgraded event , IOSubchannel channel ) { if ( ! openChannels . contains ( channel ) ) { return ; } channel . respond ( Output . from ( "/Greetings!" , true ) ) ; }
Handle upgrade confirmation .