title: HttpServletResponse bean injected into bean in mvc
body: <p>In my spring-mvc project I have the following config:</p>
  
  <pre><code>@Configuration
  class MyConfig{
     @Bean
     SomeBean someBean(HttpServletResponse response){
        ... set response into new bean instance...
     }
  }
  </code></pre>
  
  <p><em>SomeBean</em> is got created only once, but response not.
  Response has got <em>request</em> scope therefore we have classic <em>Narrow scope bean problem</em>.</p>
  
  <p>But, in fact, SomeBean has got correct response field throughout mvc-app life(during multiple requests and responses, coming from a user.)</p>
  
  <p>So, this field must have updated restlessly, but how can it be, taking into account SomeBean created only once!?</p>
  
  <p>So, my question is how it is possible to have mutable response field ?</p>