title: Get only wildcard part of @Requestmapping
body: <p>I'm using wildcard mapping on controller action, and want to get string matched by wildcard. How can I do it the correct way? Without using substring etc.</p>
  
  <pre><code>@Controller
  @RequestMapping(value = "/properties")
  public class PropertiesController {
  
      @RequestMapping(value = "/**", method=RequestMethod.GET)
      public void getFoo() {
  
          String key = (String) request. getAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE);
          // returns "/properties/foo/bar" ... 
          // I want only "foo/bar" part
  
  
          // ...
      }
  
  }|
  </code></pre>