<div dir="ltr"><div><span>Hi all,<br><br>I am really impressed by the 
throughput I am getting using standalone undertow server using non-blocking IO and what not.<br><br>Now, I have a 
use case where I need to maintain a per call thread level boolean flag 
which needs to be accessible from various parts of the code.</span><span class=""> This </span><span></span><span>flag is determined by an exchange attribute (say request header)</span><span></span><span class="">.<br><br></span><span></span><span>So the question is whether there is an easy and efficient way to get a 
reference to any exchange attribute (or the exchange itself) from anywhere in the code?</span><span class=""> </span><span></span><span>I really don&#39;t want to rely on thread locals or custom caches to do this if there is a way to get a reference.</span><span> Or if Undertow natively has similar functionality to set and retreive a thread level flags, I&#39;d be happy to use that too.<br><br></span></div><span>PS: I am still going through list archives, but the UI to go through all of them is really tiresome :)<br clear="all"></span><div><br>-- <br><div class="gmail_signature"><span>Girish Sharma<br>B.Tech(H), </span><span>Civil Engineering</span><span>,</span><div><span>Indian Institute of Technology, Kharagpur</span></div>

</div>
</div></div>