title: Can I override the @RequestMapping on a type for a method?
body: <p>I have a spring controller/POJO like this:</p>
  
  <pre><code>@RequestMapping("/foo");
  public class MyController {
      @RequestMapping("/bar") 
      public String MyAction() { return someSharedFunc(false); }
  
      @RequestMapping("/debug/ping");
      public String MyDebugPing() { return someSharedFunc(true); }
  
      private String someSharedFunc(boolean debug) {
        if(debug) return "FooBar"; else return "Debug!";
      }
  }
  </code></pre>
  
  <p>In this scenario, the URL for MyDebugPing is <code>/foo/debug/ping</code>. However, I want it to be <code>/debug/ping</code>, effectively ignoring the RequestMapping on the class.</p>
  
  <p>Is that possible?</p>