[undertow-dev] thread-safety of undertow classes

Alexey Egorov electreg at list.ru
Fri Oct 25 08:00:37 EDT 2019


Hello,
is there any documentation on what interfaces are thread-safe and what isn't?
As I understand it (please correct me if I'm wrong):
1. HttpServerExchange is not thread-safe (dispatch should be used to serialize access to it);
2. WebSocketChannel is thread-safe, so is it OK to call suspendReceives/resumeReceives from different threads.
What about other interfaces?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20191025/c2b698e2/attachment.html 


More information about the undertow-dev mailing list