title: Can you have an optional QueryParam in jersey?
body: <p>Using java jersey, I have the following @QueryParam's in my method handler:</p>
  
  <pre><code>@Path("/hello")
  handleTestRequest(@QueryParam String name, @QueryParam Integer age)
  </code></pre>
  
  <p>I know if I do:
  <a href="http://myaddress/hello?name=something" rel="noreferrer">http://myaddress/hello?name=something</a></p>
  
  <p>It will go into that method....</p>
  
  <p>I want to make it so that I can call:</p>
  
  <blockquote>
    <p><a href="http://myaddress/hello?name=something" rel="noreferrer">http://myaddress/hello?name=something</a></p>
  </blockquote>
  
  <p>And it will also go into that same method. Is there any way I can flag an "optional" PathParam? Does it work with @FormParam too? Or am I required to create a separate method with a different method signature?</p>