users@websocket-spec.java.net

[jsr356-users] Re: HttpSession

From: Arun Gupta <arun.p.gupta_at_oracle.com>
Date: Wed, 20 Feb 2013 14:01:42 -0800

Filed http://java.net/jira/browse/WEBSOCKET_SPEC-145

Arun

On 2/20/13 10:22 AM, Jitendra Kotamraju wrote:
> On 2/17/13 7:14 AM, Arun Gupta wrote:
>> Ah, got it!
>>
>> Agreed should be called getHttpSession().
> I agree, you should file an issue for this
>
> Jitu
>>
>> 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
>

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