title: Spring rest - custom header validation on method level
body: <p>I am working on spring based rest service and looking for the wy to validate custom request header for some methods and not the others. 
  Could You advice what is the best way to achieve this please? Is it possible to achieve it e.g. via custom annotations?:</p>
  
  <pre><code>@RequestMapping(value = "/url", method = RequestMethod.GET)
  @ResponseBody
  @validateHeader(name=headerName)  &lt;--??
  public DTO method() {
          ...
          return DTO;
  }
  </code></pre>