public static enum URIResolver.MatchRule extends Enum<URIResolver.MatchRule>
Enum Constant and Description |
---|
BEST_MATCH
Indicates that the best matching pattern should be returned when finding a match in a list
of patterns.
|
FIRST_MATCH
Indicates that the first matching pattern should be returned when finding a match in a list
of patterns.
|
Modifier and Type | Method and Description |
---|---|
static URIResolver.MatchRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static URIResolver.MatchRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final URIResolver.MatchRule FIRST_MATCH
public static final URIResolver.MatchRule BEST_MATCH
public static URIResolver.MatchRule[] values()
for (URIResolver.MatchRule c : URIResolver.MatchRule.values()) System.out.println(c);
public static URIResolver.MatchRule valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 Allette Systems. All rights reserved.