codeminders / socket.io-server-java

Java Backend for Socket.IO (http://socket.io/)
36 stars 18 forks source link

Add HttpSession to socket.io session #8

Closed joeferner closed 7 years ago

joeferner commented 7 years ago

I needed a way to get access to what user a socket is attached to using their HttpSession. The problem is when using websockets javax.websocket.Session doesn't have access to HttpServletRequest which means com.codeminders.socketio.server.transport.AbstractTransportConnection#setRequest never gets called so I can't get it from there.

joeferner commented 7 years ago

@alexsaveliev done

joeferner commented 6 years ago

Any chance you could publish a new version

birdowl commented 6 years ago

v 1.0.4 released to Maven Central