Idp v3 HttpServletRequestResponseContext usage
Brent Putman
putmanb at georgetown.edu
Wed Aug 12 15:45:10 EDT 2015
On 8/12/15 2:07 PM, Cantor, Scott wrote:
>> Could someone please point out where and how “HttpServletRequestResponseContext” is used? I mostly see it referenced in tests.
> 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.
And importantly also in the RequestResponseContextFilter, the servlet
filter which populates and clears the HttpServletRequestResponseContext.
> The name is a bit confusing, it's not part of our context tree business.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150812/6e48581d/attachment.html>
More information about the dev
mailing list