title: How does an JAX-RS 'endpoint' behave when making a request?
body: <p>There is something I am not sure I understand correctlty, therefore, I need help:)</p>
  
  <p>I have seen this: <a href="https://cwiki.apache.org/WINK/jax-rs-context-information.html" rel="noreferrer">example</a>,</p>
  
  <pre><code>@Path("/resource")
  public class Resource {
      @Context
      private HttpHeaders headers;
  
      @GET
      public void get(@Context UriInfo uriInfo) {
         /* use headers or uriInfo variable here */
      }
  }
  </code></pre>
  
  <p>Does this mean that for each request the class that is transformed to 'endpoint' creates a separate thread? Because, otherwise, the headers information would not be accurate...</p>
  
  <p>Can you please indicate a (short:) ) resource, not JAX-WS specifications, where I can find info about this?</p>