title: How to get access to HTTP header information in Spring MVC REST controller?
body: <p>I am new to web programming in general, especially in Java, so I just learned what a header and body is.</p>
  
  <p>I'm writing RESTful services using Spring MVC. I am able to create simple services with the <code>@RequestMapping</code> in my controllers. I need help understanding how to get HTTP header information from a request that comes to my method in my REST service controller. I would like to parse out the header and get some attributes from it.</p>
  
  <p>Could you explain how I go about getting that information?</p>