title: why there is not a holder class for Response like RequestContextHolder
body: <p>Why Spring does not have a class like RequestContextHolder for <code>HttpServletResponse</code>? There are some cases I need to access response object. For example spring security is creating an InteractiveSuccessEvent for successful logins. My event handler needs properly set some values to cookie and I do not know an explicit way to modify <code>HttpServletResponse</code> object.</p>
  
  <p>Edit: Example of handler</p>
  
  <pre><code>@Component
  public class ActivityLoginSuccessEventHandler implements ApplicationListener&lt;InteractiveAuthenticationSuccessEvent&gt; {
  
     @Override
     public void onApplicationEvent(InteractiveAuthenticationSuccessEvent event) {
        //todo cookie
     }
  }
  </code></pre>