Apologies if this question has already been answered elsewhere; closest I could find is this thread: http://lists.jboss.org/pipermail/undertow-dev/2014-August/000898.html
HttpServerExchange cannot be manipulated from multiple threads (without locking). Thus, dispatch and executeAfter wouldn't work if the goal is to end the exchange after the max. time to process (request) has been exceeded.
I can implement this timeout mechanism using out-of-band thread executor but was hoping there is a more efficient way provided by the framework. Thanks.
Best,
stan