title: Autowiring HttpServletRequest in Spring controller
body: <p>Let's say I have a Spring controller.</p>
  
  <pre><code>@RequestMappin("/path")
  public MyController {
  }
  </code></pre>
  
  <p>As stated, default scope of the controller is Singleton. 
  I know that I can autowire request in REQUEST scope beans, however, if I try to autowire request, so that</p>
  
  <pre><code>@RequestMappin("/path")
  public MyController {
          @Autowired
          private HttpServletRequest request;
      }
  </code></pre>
  
  <p>It still works, and for each request I get appropriate request object. Does it mean that autowire works regardless the scope is request or not?</p>