public interface UrlPattern extends Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
UrlPattern.MatchAllPattern
A default implementation with matches any input.
|
Modifier and Type | Field and Description |
---|---|
static UrlPattern |
MATCH_ALL
A pattern which matches any input.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Returns the pattern length.
|
String |
getPatternString()
Returns the pattern string.
|
boolean |
match(String url)
Does the patter match the given url?
|
static final UrlPattern MATCH_ALL
boolean match(String url)
url
- url to matchtrue
if the given URL matches the patternint getLength()
String getPatternString()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.