<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 8/12/15 2:07 PM, Cantor, Scott
      wrote:<br>
    </div>
    <blockquote cite="mid:685DDAB2-E91A-44D7-86D5-8BE1892CCC36@osu.edu"
      type="cite">
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">Could someone please point out where and how “HttpServletRequestResponseContext” is used? I mostly see it referenced in tests.
</pre>
      </blockquote>
      <pre wrap="">
It's a static class. Outside of tests, it's only used inside the HttpRequest/ResponseProxy classes that use it to retrieve the thread-local copies of the underlying servlet objects.</pre>
    </blockquote>
    <br>
    <br>
    And importantly also in the RequestResponseContextFilter, the
    servlet filter which populates and clears the
    HttpServletRequestResponseContext.<br>
    <br>
    <br>
    <blockquote cite="mid:685DDAB2-E91A-44D7-86D5-8BE1892CCC36@osu.edu"
      type="cite">
      <pre wrap="">
The name is a bit confusing, it's not part of our context tree business.
</pre>
    </blockquote>
    <br>
    <br>
    I never thought of that til now, yes I suppose it is slightly
    confusing.  You'll often see such ThreadLocal container classes
    called "-Holder" or something, but I think for this one I was
    copying something else that was close. But I don't remember exactly,
    it's been awhile.<br>
  </body>
</html>