title: Restlet path param does not work
body: <p>Below is my routing  </p>
  
  <pre><code>public Restlet createInboundRoot(){
   Router router = new Router(getContext());
  router.attach("account/profile",UserProfile.class);
  </code></pre>
  
  <p>Following is the Resource class UserProfile.java</p>
  
  <pre><code>@post
  @path("add")
  public void addUser(User user){
  
  @post
  @path("modify")
  public void modifyUser(User user){
  
  @post
  public void test(){//only this is called
  </code></pre>
  
  <p>I want to invoke one resource class and do couple of identical functions for a resource class. That means, my above resource class handles functions related to the UserProfiles such as add, modify.
  URL are:<br>
  account/profile/add => to add a user<br>
  account/profile/modify => to modify a user  </p>
  
  <p>anyway, above my implementation doesn't work as only the test() method can be invoked through account/profile/  </p>
  
  <p>I tried with Pathparams as well.But it also didnot work. 
  For path params:</p>
  
  <pre><code>router.attach("account/profile/{action}",UserProfile.class);
  </code></pre>
  
  <p>was added and in the resource class,  </p>
  
  <pre><code>@post
  @path("{action}")
  public void addUser(@pathparam("action") String action, User user){ 
  </code></pre>
  
  <p>Anyone tell me where is my problem.</p>