title: Jersey: Decoding String @PathParam which contains space in it
body: <pre><code>public Response getCustomerByName(
  @PathParam("customerName") String customerName)
  </code></pre>
  
  <p><strong>Problem</strong> : <br>
  I am passing customerName as : <strong>stack overflow</strong> (URL is encoded as : <strong>stack%20overflow</strong>). I want to receive as decoded string (stack overflow, without %20) in my java code.</p>
  
  <p><strong>What I tried</strong> : <br>
  This works perfectly fine, but I felt it is not more generic way of doing it.</p>
  
  <pre><code>URLDecoder.decode(customerName, "UTF-8");
  </code></pre>
  
  <p><strong>Require more generic solution :</strong>
  I want to do the similar changes in rest of the APIs as well, so using URLDecoder in each API is burden . Is there any common practice which I can follow to impose this decoding at application level? (@PathParam is already decoded when I receive the request)</p>