users@websocket-spec.java.net

[jsr356-users] Re: HttpSession

From: Arun Gupta <arun.p.gupta_at_oracle.com>
Date: Sun, 17 Feb 2013 07:14:25 -0800

Ah, got it!

Agreed should be called getHttpSession().

I suspect its no returning Object instead of HttpSession to not have a
dependency on Servlet APIs ?

Arun

On 2/17/13 5:00 AM, Joakim Erdfelt wrote:
> Look at ..
>
> javax.websocket.server.HandshakeRequest#getSession()
>
> (which should probably be called getHttpSession())
>
> --
> Joakim Erdfelt <joakim_at_intalio.com <mailto:joakim_at_intalio.com>>
> webtide.com <http://www.webtide.com/>
> Developer advice, services and support
> from the Jetty & CometD experts
> eclipse.org/jetty <http://eclipse.org/jetty/> - cometd.org
> <http://cometd.org/>
>
>
> On Sat, Feb 16, 2013 at 9:06 PM, Arun Gupta <arun.p.gupta_at_oracle.com
> <mailto:arun.p.gupta_at_oracle.com>> wrote:
>
> Section 7.2 says:
>
> The API allows access in the opening handshake to the unique
> HttpSession corresponding to that same client.
>
>
> I could not find any API in v012 that exposes HttpSession. Am I
> looking for it eagerly ? :-)
>
> Arun
>
> --
> http://twitter.com/arungupta
> http://blogs.oracle.com/arungupta
>
>

-- 
http://twitter.com/arungupta
http://blogs.oracle.com/arungupta