@OnOpen public void onConnect(final Session session){
  final String articleIds=(String)Channels.getHttpParameter(session,Article.ARTICLE_T_IDS);
  if (StringUtils.isBlank(articleIds)) {
    return;
  }
  SESSIONS.put(session,articleIds);
}

@ OnOpen public void onConnect ( final Session session ) { final String articleIds = ( String ) Channels . getHttpParameter ( session , Article . ARTICLE_T_IDS ) ; if ( StringUtils . isBlank ( articleIds ) ) { return ; } SESSIONS . put ( session , articleIds ) ; }
called when the socket connection with the browser is established .
