On Thu, Feb 19, 2026 at 3:40 PM Christopher Schultz <[email protected]> wrote: > > All, > > Oops, forgot the docs references: > > https://tomcat.apache.org/tomcat-10.1-doc/config/http2.html > https://tomcat.apache.org/tomcat-11.0-doc/config/http2.html
Ok, these are not there anymore. Tomcat 9.0 still has them of course. I'll fix that. Three methods were added in Servlet 6.0: getRequestId, getProtocolRequestId and getServletConnection. So the connectionID would be in getServletConnection. Rémy > -chris > > > On 2/19/26 9:38 AM, Christopher Schultz wrote: > > All, > > > > Someone asked a question on SO about how to get these identifiers: > > https://stackoverflow.com/questions/79850261 > > > > It looks like org.apache.coyote.streamID was replaced by > > HttpServletRequest.getProtocolRequestId but I don't see any way to get > > the connection id anymore. The constants mentioned in the docs[1] are > > just not there anymore, though they are documented to be. > > > > I think we should definitely fix the documentation, but I wonder if we > > should restore the org.apache.coyote.connectionID attribute. Is it even > > useful to anyone, other than for protocol debugging? > > > > -chris > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
