title: How to define the default value for @QueryParam?
body: <p>When I add the default value of the string in JAX-RS, it doesn't take the value. It stays to null or empty.</p>
  
  <pre><code>@QueryParam("status")
  private String status = "confirmed";
  </code></pre>
  
  <p>When I pass the status as empty or <code>null</code> or undefined it stays as empty or <code>null</code> or undefined. It doesn't take the default as confirmed.</p>