On 14/03/2023 09:00, Robin Stevens wrote:

<snip/>

Does anybody has a pointer on how to obtain this info through official APIs, or 
to some documentation related to this that I might have missed ?

The short answer is that there is no way do this via the Servlet API that doesn't involved trying to do I/O and then reacting to any error that is received.

This is an open issue for the Servlet spec. There have been a few discussions and proposals but no consensus so far. Servlet issue #433 is probably the best place to start reading up on what has been discussed so far:
https://github.com/jakartaee/servlet/issues/433

I currently think it is more likely than not that something to help with this will be introduced in the next iteration of the Servlet spec.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to