title: What does context annotation do in Spring?
body: <p>In Rest API design, I am wondering what the exact purpose of the context annotation is?</p>
  
  <pre><code>private HttpServletRequest request;
  
   @Context
   public void setRequest(final HttpServletRequest req) {
          request = req;
   }
  </code></pre>