Package org.springframework.web.socket.messaging

Examples of org.springframework.web.socket.messaging.SubProtocolHandler


    for (SubProtocolHandler handler : this.webSocketHandler.getProtocolHandlers()) {
      if (handler instanceof StompSubProtocolHandler) {
        return (StompSubProtocolHandler) handler;
      }
    }
    SubProtocolHandler defaultHandler = this.webSocketHandler.getDefaultProtocolHandler();
    if (defaultHandler != null && defaultHandler instanceof StompSubProtocolHandler) {
      return (StompSubProtocolHandler) defaultHandler;
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.springframework.web.socket.messaging.SubProtocolHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.