java – 如何使用JEE7 Websockets将参数传递给@OnOpen方法,

我有这个代码 @ServerEndpoint(value = /websocket)public class Service { private String clientId; @OnOpen public void init(Session session) throws IOException { //opening a websocket

返回顶部