@Override
protected void handleTextMessage(WebSocketSession session, TextMessage message) throws Exception {
logger.info("{}Id {}Sented",session.getId(),message.getPayload());
//to EveryOne
for(WebSocketSession sess:sessionList) {
sess.sendMessage(new TextMessage(session.getId()+" :"+message.getPayload()));
}
}
3. 有关问题的详细信息