title: Spring MVC: Get Unnamed Request Parameter
body: <p>What is the simplest way to access an unnamed request parameter in a Spring MVC controller? Is there an annotation for this similar to <code>@RequestParam</code>?</p>
  
  <p>HTTP Delete request with unnamed parameter:</p>
  
  <pre><code>http://localhost/myEndPoint?someUnnamedParam
  </code></pre>
  
  <p>Controller: </p>
  
  <pre><code>public class MyController {
      @RequestMapping(value = {"/myEndPoint"}, method = RequestMethod.DELETE)
      public void deleteThing() {
          // Do something with unnamed param
      }
  }
  </code></pre>
  
  <p><em><strong>Details:</strong> Spring 3.0.7</em></p>