title: How exclude some paths from @GetMapping spring annotation?
body: <p>I use <code>Spring Boot</code> and my main controller handles all top urls:</p>
  
  <pre><code>import org.springframework.http.ResponseEntity;
  import org.springframework.stereotype.Controller;
  import org.springframework.web.bind.annotation.GetMapping;
  
  @Controller
  public class IndexController {
      @GetMapping({"/*"})
      public ResponseEntity&lt;String&gt; handleIndex() {
          // ...
      }
  }
  </code></pre>
  
  <p>And for some reasons I want exclude path <code>/exclude_path</code> from handling of my controller.</p>
  
  <p>Something like this:</p>
  
  <pre><code>@GetMapping(include={"/*"}, exclude={"/exclude_path"})
  </code></pre>
  
  <p>Could you please answer how I may do this?</p>