title: How to handle special characters like pipe (|) in REST API URL path without sending an encoded values in java?
body: <p>URL mapping is:</p>
  <pre><code>@path(value = &quot;/article/{articleName}&quot;)
  
  @GET
  </code></pre>
  <p>Here <code>'articleName'</code> contains vertical bar (<code>|</code>). So when I hit the URL I get <code>400 Bad Request</code>.</p>
  <p>Possible solutions that I know are,</p>
  <p>Use URL encoding.
  Use of <code>@RequestParam</code> instead of <code>@PathVariable</code>.
  But above solution are not possible for me.</p>
  <p>Is there any other solution like (using a regular expression or changing the mapping or any explicit filter etc) to the problem?</p>