jsr369-experts@servlet-spec.java.net

[jsr369-experts] Re: [servlet-spec users] Re: Call for discussion: API for apps do discover protocol version/transport?

From: Greg Wilkins <gregw_at_webtide.com>
Date: Wed, 14 Sep 2016 14:08:18 +1000

On 14 September 2016 at 12:13, Edward Burns <edward.burns_at_oracle.com> wrote:

> GW> So I think we are good as is.
>
> But what about knowing if the connection was upgraded. Is that not
> worth knowing, or can it be derived using existing API?
>

I'm struggling to think of a use-case for an app that needs a standard API
to know the exact connect method used to establish h2. If such a
use-case does exist, then how is it going to handle the many deployment
scenarios where the connection establishment method used by the client is
hidden from the container?

So it is mostly not worth knowing, and when it is worth knowing it will be
so deployment specific that a standard API will be of little help.

cheers







-- 
Greg Wilkins <gregw@webtide.com> CTO http://webtide.com