title: How to encode path parameter using Java Jersey
body: <p>How do you encode a path parameter (not form-url-encoded) but just a single URL that's appended in the format:</p>
  
  <pre><code>public String method(@PathParam("url") String url) {
  }
  </code></pre>
  
  <p>There are lots of references to form URL encoding, but I want to simply encode a string as in the above.</p>