title: Thread in Jersey 2
body: <p>In Jersey 2.22, with the following code:</p>
  
  <pre><code>@Path("/header")
  public class TestResource {
  
      @GET
      public Response get(){
      ...
      }
  
      @Path("sub")
      public Sub sub(){
          return new Sub();
      }
  }
  
  public class Sub {
  
      @GET
      public Response get(){
      ...
      }
  
      @Path("sub")
      public SubSub sub(){
          return new SubSub();
      }
  }
  
  public class SubSub {
  
      @GET
      public Response get(){
      ...
      }
  
      @Path("sub")
      public SubSubSub sub(){
          return new SubSubSub();
      }
  }
  
  public class SubSubSub {
  
      @GET
      public Response get(){
      ...
      }
  }
  </code></pre>
  
  <p>Is it guaranteed that for <code>/header/sub/sub/sub</code>, the same thread will be used when traversing from <code>TestResource.sub()</code> all the way to <code>SubSubSubSubSubSubSub</code>...'s <code>get()</code> method?</p>