title: Store @PathParam values from REST call in a list or array
body: <p>My function looks like this:</p>
  
  <pre><code>    @PUT
      @Path("property/{uuid}/{key}/{value}")
      @Produces("application/xml")    
      public Map&lt;String,ValueEntity&gt; updateProperty(@Context HttpServletRequest request,
              @PathParam("key") String key,
              @PathParam("value") String value,
              @PathParam("uuid") String uuid) throws Exception {
                                         ...
                               }
  </code></pre>
  
  <p>I have to modify it, so it accepts indefinite(or many) list of key-value pairs from REST call, something like</p>
  
  <pre><code>@Path("property/{uuid}/{key1}/{value1}/{key2}/{value2}/{key3}/{value3}/...")
  </code></pre>
  
  <p>Is it possible to store them in an array or list, so I do not list dozens of @PathParams and parameters, to avoid this:</p>
  
  <pre><code>@PathParam("key1") String key1,
  @PathParam("key2") String key2,
  @PathParam("key3") String key3,
  </code></pre>