If you want one per thread just use ThreadLocal.StuartOn Thu, 5 Apr. 2018, 7:42 pm Steve Hu, <stevehu@gmail.com> wrote:______________________________I need to share the same instance of a "Util" object to reuse it in all the handleRequest calls. Where is the best place to store the Util object instance? The Util class is not thread safe, so I should have one instance for each client thread.Thanks,Steve_________________
undertow-dev mailing list
undertow-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev