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
I am trying to implement websockets using jersey. I have a method subscribe in my AtmosphereServlet which returns SuspendResponse.SuspendResponseBuilder().addListener().build().
I want to subscribe to the topic only when a certain condition is met. Where do I write this condition. How do I reject the handshake. If I should write it in my subscribe method, how do I implement it?
The text was updated successfully, but these errors were encountered:
I am trying to implement websockets using jersey. I have a method subscribe in my AtmosphereServlet which returns SuspendResponse.SuspendResponseBuilder().addListener().build().
I want to subscribe to the topic only when a certain condition is met. Where do I write this condition. How do I reject the handshake. If I should write it in my subscribe method, how do I implement it?
The text was updated successfully, but these errors were encountered: