jsr369-experts@servlet-spec.java.net

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

From: Edward Burns <edward.burns_at_oracle.com>
Date: Tue, 13 Sep 2016 11:00:48 -0700

Hello Volunteers,

Currently I am not aware of any standard Servlet API to allow apps to
discover the following

* What protocol version is in use for the current request?

* How did we get to that protocol version? Straight to h2? Or upgraded
  via 101 Switching Protocols?

* What transport is being used? h2c or h2? Is ServletRequest.isSecure()
  enough?

I think it might be useful to allow apps to answer these questions.

Thoughts?

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017