title: Prevent Filter chain from execution based on condition
body: <p>In my spring boot application I have the following filter registry:</p>
  
  <pre><code>@Bean
  public FilterRegistry filterRegistry(Service1 service1, Service2 service2,
              EvictionService evictionService) throws GeneralSecurityException {
        FilterRegistry r = FilterRegistry.instance();
  
        r.put("filter1", new MetadataFilter(Service2,evictionService));
        r.put("filter2", new RoutesFilter(service1,evictionService, publicKey));
  
        return r;
  }
  </code></pre>
  
  <p>In the first filter I need to check on a condition, if this condition is true I want to skip all filters in my filter registry. What I am having now is that I do the check in the beginning of each filter like this:</p>
  
  <pre><code>public class Filter1 extends ZuulFilter {
      public boolean shouldFilter() {
              if(condition){
              return false;
              }
              return true
      }
  
  }
  
  public class Filter2 extends ZuulFilter {
      public boolean shouldFilter() {
              if(condition){
              return false;
              }
              return true
      }
  
  }
  </code></pre>
  
  <p>but What I really want is to create a new filter that holds the condition, run the condition filter at the beginning and if condition is true then do not continue in the filter registry execution.</p>
  
  <p>any ideas?</p>