Spring 4 and Servlet 3.0
Cantor, Scott
cantor.2 at osu.edu
Sun Dec 15 13:53:24 EST 2013
On 12/15/13, 5:18 AM, "Ian Young" <ian at iay.org.uk> wrote:
>
>In our case, the presence of that "provided" dependency forces an update
>to two classes in java-support (ThreadLocalHttpServletRequestProxy and
>ThreadLocalHttpServletResponseProxy) in order to wrap the additional
>methods in HttpServletRequest. It's not clear to me what these are for,
>but they only appear to be used directly in tests.
No, those are how we inject the request and response with Spring into all
the beans we have that need them. We inject those proxies and we have a
filter that populates thread-local data and cleans it up on every request.
The testbed uses them in the manner the IdP will.
-- Scott
More information about the dev
mailing list