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.
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 toHttpServletRequest
which meanscom.codeminders.socketio.server.transport.AbstractTransportConnection#setRequest
never gets called so I can't get it from there.