Class Rules.virtualHostMatch.virtualPath
- Enclosing class:
Rules.virtualHostMatch
-
Method Summary
Modifier and TypeMethodDescriptionstatic Matchercontains(CharSequence substring) Matches when the virtual path contains a given character sequence, case-sensitive.static Matchercontains(CharSequence substring, Rule... rules) Matches when the virtual path contains a given character sequence, case-sensitive.static Matchercontains(CharSequence substring, Rule[] rules, Rule... otherwise) Matches when the virtual path contains a given character sequence, case-sensitive.static Matchercontains(CharSequence substring, Iterable<? extends Rule> rules) Matches when the virtual path contains a given character sequence, case-sensitive.static Matchercontains(CharSequence substring, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches when the virtual path contains a given character sequence, case-sensitive.static MatcherMatches when the virtual path ends with a given string, case-sensitive.static MatcherMatches when the virtual path ends with a given string, case-sensitive.static MatcherMatches when the virtual path ends with a given string, case-sensitive.static MatcherMatches when the virtual path ends with a given string, case-sensitive.static MatcherMatches when the virtual path ends with a given string, case-sensitive.static MatcherMatches when the virtual path is equal to a given string, case-sensitive.static MatcherMatches when the virtual path is equal to a given string, case-sensitive.static MatcherMatches when the virtual path is equal to a given string, case-sensitive.static MatcherMatches when the virtual path is equal to a given string, case-sensitive.static MatcherMatches when the virtual path is equal to a given string, case-sensitive.static Matcherequals(CharSequence target) Matches when the virtual path is equal to a given character sequence, case-sensitive.static Matcherequals(CharSequence target, Rule... rules) Matches when the virtual path is equal to a given character sequence, case-sensitive.static Matcherequals(CharSequence target, Rule[] rules, Rule... otherwise) Matches when the virtual path is equal to a given character sequence, case-sensitive.static Matcherequals(CharSequence target, Iterable<? extends Rule> rules) Matches when the virtual path is equal to a given character sequence, case-sensitive.static MatcherMatches when the virtual path is equal to a given character sequence, case-sensitive.static MatcherMatches when the virtual path is equal to a given string, case-sensitive.static MatcherMatches when the virtual path is equal to a given string, case-sensitive.static MatcherMatches when the virtual path is equal to a given string, case-sensitive.static MatcherMatches when the virtual path is equal to a given string, case-sensitive.static MatcherMatches when the virtual path is equal to a given string, case-sensitive.static MatcherequalsIgnoreCase(String target) Matches when the virtual path is equal to a given string, case-insensitive.static MatcherequalsIgnoreCase(String target, Rule... rules) Matches when the virtual path is equal to a given string, case-insensitive.static MatcherequalsIgnoreCase(String target, Rule[] rules, Rule... otherwise) Matches when the virtual path is equal to a given string, case-insensitive.static MatcherequalsIgnoreCase(String target, Iterable<? extends Rule> rules) Matches when the virtual path is equal to a given string, case-insensitive.static MatcherMatches when the virtual path is equal to a given string, case-insensitive.static Matchermatches(WildcardPatternMatcher wildcardPattern) Matches when the virtual path matches a givenWildcardPatternMatcher.static Matchermatches(WildcardPatternMatcher wildcardPattern, Rule... rules) Matches when the virtual path matches a givenWildcardPatternMatcher.static Matchermatches(WildcardPatternMatcher wildcardPattern, Rule[] rules, Rule... otherwise) Matches when the virtual path matches a givenWildcardPatternMatcher.static Matchermatches(WildcardPatternMatcher wildcardPattern, Iterable<? extends Rule> rules) Matches when the virtual path matches a givenWildcardPatternMatcher.static Matchermatches(WildcardPatternMatcher wildcardPattern, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches when the virtual path matches a givenWildcardPatternMatcher.static MatcherMatches when the virtual path matches a given regular expression.static MatcherMatches when the virtual path matches a given regular expression.static MatcherMatches when the virtual path matches a given regular expression.static MatcherMatches when the virtual path matches a given regular expression.static MatcherMatches when the virtual path matches a given regular expression.static MatcherstartsWith(String prefix) Matches when the virtual path starts with a given string, case-sensitive.static MatcherstartsWith(String prefix, Rule... rules) Matches when the virtual path starts with a given string, case-sensitive.static MatcherstartsWith(String prefix, Rule[] rules, Rule... otherwise) Matches when the virtual path starts with a given string, case-sensitive.static MatcherstartsWith(String prefix, Iterable<? extends Rule> rules) Matches when the virtual path starts with a given string, case-sensitive.static MatcherMatches when the virtual path starts with a given string, case-sensitive.
-
Method Details
-
startsWith
Matches when the virtual path starts with a given string, case-sensitive. Matches when prefix is empty.- See Also:
-
startsWith
Matches when the virtual path starts with a given string, case-sensitive. Matches when prefix is empty.- Parameters:
rules- Invoked only when matched.- See Also:
-
startsWith
public static Matcher startsWith(String prefix, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches when the virtual path starts with a given string, case-sensitive. Matches when prefix is empty.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
startsWith
Matches when the virtual path starts with a given string, case-sensitive. Matches when prefix is empty.- Parameters:
rules- Invoked only when matched.- See Also:
-
startsWith
Matches when the virtual path starts with a given string, case-sensitive. Matches when prefix is empty.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
endsWith
Matches when the virtual path ends with a given string, case-sensitive. Matches when suffix is empty.- See Also:
-
endsWith
Matches when the virtual path ends with a given string, case-sensitive. Matches when suffix is empty.- Parameters:
rules- Invoked only when matched.- See Also:
-
endsWith
public static Matcher endsWith(String suffix, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches when the virtual path ends with a given string, case-sensitive. Matches when suffix is empty.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
endsWith
Matches when the virtual path ends with a given string, case-sensitive. Matches when suffix is empty.- Parameters:
rules- Invoked only when matched.- See Also:
-
endsWith
Matches when the virtual path ends with a given string, case-sensitive. Matches when suffix is empty.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
contains
Matches when the virtual path contains a given character sequence, case-sensitive. Matches when substring is empty.- See Also:
-
contains
Matches when the virtual path contains a given character sequence, case-sensitive. Matches when substring is empty.- Parameters:
rules- Invoked only when matched.- See Also:
-
contains
public static Matcher contains(CharSequence substring, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches when the virtual path contains a given character sequence, case-sensitive. Matches when substring is empty.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
contains
Matches when the virtual path contains a given character sequence, case-sensitive. Matches when substring is empty.- Parameters:
rules- Invoked only when matched.- See Also:
-
contains
Matches when the virtual path contains a given character sequence, case-sensitive. Matches when substring is empty.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
equals
Matches when the virtual path is equal to a given string, case-sensitive.- See Also:
-
equals
Matches when the virtual path is equal to a given string, case-sensitive.- Parameters:
rules- Invoked only when matched.- See Also:
-
equals
public static Matcher equals(Path target, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches when the virtual path is equal to a given string, case-sensitive.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
equals
Matches when the virtual path is equal to a given string, case-sensitive.- Parameters:
rules- Invoked only when matched.- See Also:
-
equals
Matches when the virtual path is equal to a given string, case-sensitive.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
equals
Matches when the virtual path is equal to a given string, case-sensitive.- See Also:
-
equals
Matches when the virtual path is equal to a given string, case-sensitive.- Parameters:
rules- Invoked only when matched.- See Also:
-
equals
public static Matcher equals(String target, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches when the virtual path is equal to a given string, case-sensitive.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
equals
Matches when the virtual path is equal to a given string, case-sensitive.- Parameters:
rules- Invoked only when matched.- See Also:
-
equals
Matches when the virtual path is equal to a given string, case-sensitive.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
equals
Matches when the virtual path is equal to a given character sequence, case-sensitive.- See Also:
-
equals
Matches when the virtual path is equal to a given character sequence, case-sensitive.- Parameters:
rules- Invoked only when matched.- See Also:
-
equals
public static Matcher equals(CharSequence target, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches when the virtual path is equal to a given character sequence, case-sensitive.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
equals
Matches when the virtual path is equal to a given character sequence, case-sensitive.- Parameters:
rules- Invoked only when matched.- See Also:
-
equals
Matches when the virtual path is equal to a given character sequence, case-sensitive.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
equalsIgnoreCase
Matches when the virtual path is equal to a given string, case-insensitive.- See Also:
-
equalsIgnoreCase
Matches when the virtual path is equal to a given string, case-insensitive.- Parameters:
rules- Invoked only when matched.- See Also:
-
equalsIgnoreCase
public static Matcher equalsIgnoreCase(String target, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches when the virtual path is equal to a given string, case-insensitive.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
equalsIgnoreCase
Matches when the virtual path is equal to a given string, case-insensitive.- Parameters:
rules- Invoked only when matched.- See Also:
-
equalsIgnoreCase
Matches when the virtual path is equal to a given string, case-insensitive.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
matches
Matches when the virtual path matches a given regular expression.- See Also:
-
matches
Matches when the virtual path matches a given regular expression.- Parameters:
rules- Invoked only when matched.- See Also:
-
matches
public static Matcher matches(Pattern pattern, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches when the virtual path matches a given regular expression.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
matches
Matches when the virtual path matches a given regular expression.- Parameters:
rules- Invoked only when matched.- See Also:
-
matches
Matches when the virtual path matches a given regular expression.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
matches
Matches when the virtual path matches a givenWildcardPatternMatcher.WildcardPatternMatchercan significantly outperformPattern, especially in suffix matching.TODO: Move
WildcardPatternMatcherto own microproject and remove dependency on larger ao-hodgepodge project.- See Also:
-
matches
public static Matcher matches(WildcardPatternMatcher wildcardPattern, Iterable<? extends Rule> rules) Matches when the virtual path matches a givenWildcardPatternMatcher.WildcardPatternMatchercan significantly outperformPattern, especially in suffix matching.- Parameters:
rules- Invoked only when matched.- See Also:
-
matches
public static Matcher matches(WildcardPatternMatcher wildcardPattern, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches when the virtual path matches a givenWildcardPatternMatcher.WildcardPatternMatchercan significantly outperformPattern, especially in suffix matching.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
matches
Matches when the virtual path matches a givenWildcardPatternMatcher.WildcardPatternMatchercan significantly outperformPattern, especially in suffix matching.- Parameters:
rules- Invoked only when matched.- See Also:
-
matches
public static Matcher matches(WildcardPatternMatcher wildcardPattern, Rule[] rules, Rule... otherwise) Matches when the virtual path matches a givenWildcardPatternMatcher.WildcardPatternMatchercan significantly outperformPattern, especially in suffix matching.- Parameters:
rules- Invoked only when matched.otherwise- Invoked only when not matched.- See Also:
-
