Re: Getting HttpSession from HandshakeRequest/Configurator

2013-03-18 Thread Mark Thomas
On 18/03/2013 00:22, Nick Williams wrote: > Martin, > > Don't believe we've spoken before. Good to meet you. > > I'm working on a book on Servlet 3.1 + WebSockets + Spring Framework > 4 + Hibernate + Spring Security. My interest is purely the new Java > WebSockets API. The existing Comet implemen

Re: Getting HttpSession from HandshakeRequest/Configurator

2013-03-17 Thread Nick Williams
On Mar 17, 2013, at 5:56 PM, Nick Williams wrote: > Based on my reading of the WebSocket spec mailing lists and API > documentation, if I want to get the HttpSession that exists when a WebSocket > connection is negotiated I need to extend ServerEndpointConfig.Configurator, > override #modifyHa

Re: Getting HttpSession from HandshakeRequest/Configurator

2013-03-17 Thread Nick Williams
gt; Martin __ Place Long-winded > disclaimer here > >> From: nicho...@nicholaswilliams.net >> Subject: Getting HttpSession from HandshakeRequest/Configurator >> Date: Sun, 17 Mar 2013 17:56:23 -0500 >> To: users@tomcat.apache

RE: Getting HttpSession from HandshakeRequest/Configurator

2013-03-17 Thread Martin Gainty
n.wikipedia.org/wiki/WebSocket Keep us apprised, Happy Driving Martin __ Place Long-winded disclaimer here > From: nicho...@nicholaswilliams.net > Subject: Getting HttpSession from HandshakeRequest/Configurator > Date: Sun, 17 Mar 2013 17

Getting HttpSession from HandshakeRequest/Configurator

2013-03-17 Thread Nick Williams
Based on my reading of the WebSocket spec mailing lists and API documentation, if I want to get the HttpSession that exists when a WebSocket connection is negotiated I need to extend ServerEndpointConfig.Configurator, override #modifyHandshake(), and call #getHttpSession() on the HandshakeReques