title: Can we validate @RequestParam value with a pattern
body: <p>i have a requirement, where in i need to validate my <code>@RequestParam</code> such that it is matched with my pattern</p>
  
  <p>Example :</p>
  
  <pre><code> @RequestMapping(value = "/someTest")
    public Object sendWishes(@RequestParam("birthDate") String birthDate)
  
      {
        // i need birthDate to be a valid date format in YYYYMMDD format
        // if its not valid it should not hit this method
      }
  </code></pre>