You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone,
In cometD2 I have handled Exception by override handleException from WebSocketTransport class (cometd-websocket-jetty:2.9.0)
package cn.nextop.social.front.web.support.cometd;
But after upgrading to cometD5 , the handleException function is removed in WebSocketTransport class (cometd-java-server-websocket-javax:5.0.0) and I cannot handle Exception .
Does anyone have a solution?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello everyone,
In cometD2 I have handled Exception by override handleException from WebSocketTransport class (cometd-websocket-jetty:2.9.0)
package cn.nextop.social.front.web.support.cometd;
import org.cometd.bayeux.server.ServerSession;
import org.cometd.server.BayeuxServerImpl;
import org.cometd.websocket.server.WebSocketTransport;
import org.eclipse.jetty.websocket.WebSocket;
import java.io.IOException;
public class CustomizedWebSocketTransport extends WebSocketTransport {
public CustomizedWebSocketTransport(BayeuxServerImpl bayeux) {
super(bayeux);
}
}
But after upgrading to cometD5 , the handleException function is removed in WebSocketTransport class (cometd-java-server-websocket-javax:5.0.0) and I cannot handle Exception .
Does anyone have a solution?
Thanks!
The text was updated successfully, but these errors were encountered: