com.atlassian.gzipfilter.selector
Class PatternMatcher
java.lang.Object
com.atlassian.gzipfilter.selector.PatternMatcher
public class PatternMatcher
- extends Object
This class may be called by multiple threads - it is internally synchronised.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternMatcher
public PatternMatcher()
matches
public boolean matches(String contentType,
String mimeTypesToGzip)
- Parameters:
contentType - The content type to matchmimeTypesToGzip - A comma separated list of regular expressions to match against
- Returns:
- True if the content type matches a least one of the regular expressions
Copyright © 2015 Atlassian. All rights reserved.