<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1454376550758_4754">Hi,</div><div id="yui_3_16_0_1_1454376550758_4760"><br></div><div id="yui_3_16_0_1_1454376550758_4784" dir="ltr">I am trying to create what I call a URL mapping handler that maps path and query variables from the http request to java method parameters via annotations. It is a bit like what Spring or JAX-RS does. The intent is to reduce a bunch of the boilerplate associated with validation of incoming requests, but nothing more than that.<br></div><div id="yui_3_16_0_1_1454376550758_4796" dir="ltr"><br></div><div id="yui_3_16_0_1_1454376550758_4847" dir="ltr">One of the stumbling blocks I have come upon is threading model used in calling handlers. I am trying to understand if <br></div><div id="yui_3_16_0_1_1454376550758_4911" dir="ltr">1) there is only meant to be a single handler shared by multiple threads such that it must handle multithreading</div><div id="yui_3_16_0_1_1454376550758_4912" dir="ltr">2) the handler instances are somehow cloned.</div><div id="yui_3_16_0_1_1454376550758_4922" dir="ltr">3) one handler is being assigned to a single thread at a time.<br></div><div id="yui_3_16_0_1_1454376550758_4921" dir="ltr"><br></div><div id="yui_3_16_0_1_1454376550758_4931" dir="ltr">Without me diving into the code to figure this out, can someone please clarify this? To me this would be a good addition to the handler guide.</div><div id="yui_3_16_0_1_1454376550758_4855" dir="ltr"><br></div><div id="yui_3_16_0_1_1454376550758_4863" dir="ltr">Thanks,</div><div id="yui_3_16_0_1_1454376550758_4864" dir="ltr"><br></div><div id="yui_3_16_0_1_1454376550758_4865" dir="ltr">Jason<br></div></div></body></html>