title: @Context HttpServletRequest scope in Jersey ContainerResponseFilter
body: <p>I am writing an Jersey Response filter. I am using Jersey 1.17. I want to get access to some attributes of the httpServletRequest in the filter API.  The way what i am doing right now is as below.  Is it safe to inject the servletRequest like in the snippet below or will this cause some kind of concurrency issues? If there are multiple requests coming in conncurrently, will the servletRequest  in different requests overwrite each other?  Thanks for your hlep. </p>
  
  <pre><code>public class LoggingFilter implements ContainerResponseFilter {
  @Context private HttpServletRequest servletRequest;
  @Override
  public ContainerResponse filter(final ContainerRequest req, final ContainerResponse resp) {
  String s =  this.servletRequest.getAttribute("xxx");
  ....
  }
  }
  </code></pre>