title: JAX-RS, path params don't work
body: <p>I try to pass a parameter via GET to a REST method.</p>
  
  <pre><code>@GET
  @Path("{id}")
  public Response getUser(@PathParam("id") String id) {
      Query qry = em.createQuery("from User c WHERE id = :user_id");
      qry.setParameter("user_id", id);
      List&lt;User&gt; results = qry.getResultList();
  
      if(results.size() &gt; 0) {
          return Response.ok(results.get(0),MediaType.APPLICATION_JSON_TYPE).build();
      } else {
          return Response.serverError().status(Response.Status.NOT_FOUND).build();
      }
  }
  </code></pre>
  
  <p>If I call it via the Rest Client with:</p>
  
  <pre><code>client = ClientBuilder.newClient();    
  Response response = client.target(TestPortProvider.generateURL("/user")+"/abc").request().get(Response.class);
  </code></pre>
  
  <p>then the method gets called but the parameter is empty. If I remove the <code>"abc"</code> from the GET url the method gets not called. Also if I remove the <code>@Path("{id}")</code> it doesn't work too. It seems as there is a parameter but it's empty for no reason. Maybe some one can help me to fix the problem.</p>
  
  <p>kind regards</p>