Package com.atlassian.jira.util
Class UriMatcher
java.lang.Object
com.atlassian.jira.util.UriMatcher
Utility class for matching URIs.
- Since:
- v5.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisBaseEqual(URI baseUri, URI testUri) Checks if the testUri belongs to the baseUri.
-
Field Details
-
STRICTER_PATH_MATCHING_FEATURE_FLAG
- See Also:
-
-
Constructor Details
-
UriMatcher
public UriMatcher()
-
-
Method Details
-
isBaseEqual
Checks if the testUri belongs to the baseUri. For example, www.foo.com/bar belongs to www.foo.com.- Parameters:
baseUri- the base URItestUri- the URI to match against the base URI- Returns:
- true if the testUri belongs to the baseUri, false if otherwise
-