Examples of SubProtocolHandler


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
Copyright © 2018 www.massapi.com. 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.