public class URLPatternMatcher extends Object
Constructor and Description |
---|
URLPatternMatcher()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
match(String requestedURL,
Collection<String> patterns,
boolean wildcard)
Matches the URL against the provided URL patterns.
|
public boolean match(String requestedURL, Collection<String> patterns, boolean wildcard) throws MalformedURLException
requestedURL
- The URL to be matched.patterns
- The patterns to match the URL against.wildcard
- Flag for wildcard comparisontrue
if matched, false
otherwise.MalformedURLException
- If the URL or one of the patterns is invalid.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.