public enum MatcherType extends Enum<MatcherType>
RequestMatcher
types supported by the namespace.Modifier and Type | Method and Description |
---|---|
BeanDefinition |
createMatcher(String path,
String method) |
static MatcherType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatcherType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatcherType ant
public static final MatcherType regex
public static final MatcherType ciRegex
public static MatcherType[] values()
for (MatcherType c : MatcherType.values()) System.out.println(c);
public static MatcherType 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 nullpublic BeanDefinition createMatcher(String path, String method)