Coverage Report - org.mule.transport.http.filters.HttpRequestWildcardFilter
 
Classes in this File Line Coverage Branch Coverage Complexity
HttpRequestWildcardFilter
0%
0/6
N/A
0
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.transport.http.filters;
 8  
 
 9  
 import org.mule.api.MuleMessage;
 10  
 import org.mule.routing.filters.WildcardFilter;
 11  
 import org.mule.transport.http.HttpConnector;
 12  
 
 13  
 /**
 14  
  * <code>HttpRequestWildcardFilter</code> filters out wildcard URL expressions. You
 15  
  * can use a comma-separated list of URL patterns such as "*.gif, *blah*".
 16  
  */
 17  
 public class HttpRequestWildcardFilter extends WildcardFilter
 18  
 {
 19  
 
 20  
     public HttpRequestWildcardFilter()
 21  
     {
 22  0
         super();
 23  0
     }
 24  
 
 25  
     public HttpRequestWildcardFilter(String pattern)
 26  
     {
 27  0
         super(pattern);
 28  0
     }
 29  
 
 30  
     @Override
 31  
     public boolean accept(MuleMessage message)
 32  
     {
 33  0
         Object requestProperty = message.getInboundProperty(HttpConnector.HTTP_REQUEST_PROPERTY);
 34  0
         return super.accept(requestProperty);
 35  
     }
 36  
     
 37  
 }