title: Spring MVC: How autowiring of HttpSession works?
body: <p>I would like to know how autowiring of HttpSession works.</p>
  
  <p>If we declare like below:</p>
  
  <pre><code>@Autowired 
  private HttpSession httpSession;
  </code></pre>
  
  <p>When exactly in the Spring workflow, httpSession variable declared above will be initialized with <code>request.getSession(true)</code>?</p>