Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 9 and WebSocket

Hi,

I replaced in my code: isNotConnected() to !session.isOpen(), because in my
onWebSocketConnect(Session ses) I instantiate session. The echo-Test works
now fine and I get the response. But because I saw in most examples checking
if isConnected() I am not sure, if I get any problems because of my
solution.

I would appreciate a feedback on my solution.

Thanks

Alex




--
View this message in context: http://jetty.4.n6.nabble.com/jetty-users-Jetty-9-and-WebSocket-tp4960163p4960172.html
Sent from the Jetty User mailing list archive at Nabble.com.


Back to the top