public class URLPatternFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.oro.text.regex.PatternCompiler |
compiler |
Constructor and Description |
---|
URLPatternFactory()
Constructor
|
Modifier and Type | Method and Description |
---|---|
URLPattern |
createURLPattern(String pattern,
SecurityConstraint constraint,
WebResourceCollection resourceCollection,
int order)
Create a URLPattern instance.
|
URLPatternMatcher |
createURLPatternMatcher()
Create a URLPatternMatcher object that is compatible with the URLPattern
objects created by this Facotry class.
|
public URLPatternMatcher createURLPatternMatcher()
public URLPattern createURLPattern(String pattern, SecurityConstraint constraint, WebResourceCollection resourceCollection, int order) throws Exception
pattern
- url pattern in config file syntaxconstraint
- SecurityConstraint object to associate with this patternresourceCollection
- WebResourceCollection to associate with this patternorder
- order in which this pattern appeared in the config fileException
Copyright © 2020 B3Partners B.V.. All rights reserved.