Package org.eclipse.jetty.webapp
Class WebInfConfiguration.WebAppPathNameMatcher
- java.lang.Object
-
- org.eclipse.jetty.util.PatternMatcher
-
- org.eclipse.jetty.webapp.WebInfConfiguration.WebAppPathNameMatcher
-
- Enclosing class:
- WebInfConfiguration
public class WebInfConfiguration.WebAppPathNameMatcher extends PatternMatcher
WebAppPathNameMatcher Matches names of jars or dirs on the webapp classpath against a pattern. If there is no pattern, all jars or dirs will match.
-
-
Field Summary
Fields Modifier and Type Field Description protected WebAppContext
_context
protected java.util.regex.Pattern
_pattern
-
Constructor Summary
Constructors Constructor Description WebAppPathNameMatcher(WebAppContext context, java.util.regex.Pattern pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
match(java.util.List<java.net.URI> uris)
void
matched(java.net.URI uri)
-
Methods inherited from class org.eclipse.jetty.util.PatternMatcher
match, matchPatterns
-
-
-
-
Field Detail
-
_context
protected final WebAppContext _context
-
_pattern
protected final java.util.regex.Pattern _pattern
-
-
Constructor Detail
-
WebAppPathNameMatcher
public WebAppPathNameMatcher(WebAppContext context, java.util.regex.Pattern pattern)
-
-
Method Detail
-
match
public void match(java.util.List<java.net.URI> uris) throws java.lang.Exception
- Throws:
java.lang.Exception
-
matched
public void matched(java.net.URI uri) throws java.lang.Exception
- Specified by:
matched
in classPatternMatcher
- Throws:
java.lang.Exception
-
-