title: Spring MVC @GetMapping("/v1/**") with ANT wildcards: how to get full path?
body: <p>Consider a Spring MVC <code>@RestController</code> with a <code>@GetMapping</code> which maps to <code>/v1/**</code> to handle all sub-paths.</p>
  
  <pre><code>@RestController
  public class MyController {
  
      @GetMapping(value = "/v1/**", produces = MediaType.TEXT_HTML_VALUE)
      public ModelAndView handle(String fullPathInMethodArg) {
          ...
          String fullPathInLocalVar = ...;
          ...
      }
  }
  </code></pre>
  
  <p>How can I retreive the full path?</p>
  
  <p>Ideally, I want to retrieve it as an argument in the method: <code>String fullPathInMethodArg</code>.</p>
  
  <p>Alternatively, I want to retrieve it as a local variable: <code>String fullPathInLocalVar</code>.</p>