[undertow-dev] Get HttpServerConnection create time

Huibing Yin huibing.yin at yahoo.com
Tue Aug 6 17:52:35 EDT 2019


Hi,
I have a servlet application that would like to know when the underlying HTTP connectionhas been established.
In the jetty, I could use the following code:
HttpConnection connection = (HttpConnection) request.getAttribute(HttpConnection.class.getName());
long connectedAt = connection.getCreatedTimeStamp();


How to do it in the undertow? Any help/suggestions are appreciated.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20190806/b1408f2c/attachment-0001.html 


More information about the undertow-dev mailing list