public enum MatcherType extends java.lang.Enum<MatcherType>
RequestMatcher
types supported by the namespace.Modifier and Type | Method and Description |
---|---|
BeanDefinition |
createMatcher(ParserContext pc,
java.lang.String path,
java.lang.String method) |
BeanDefinition |
createMatcher(ParserContext pc,
java.lang.String path,
java.lang.String method,
java.lang.String servletPath) |
static MatcherType |
valueOf(java.lang.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 final MatcherType mvc
public static MatcherType[] values()
for (MatcherType c : MatcherType.values()) System.out.println(c);
public static MatcherType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic BeanDefinition createMatcher(ParserContext pc, java.lang.String path, java.lang.String method)
public BeanDefinition createMatcher(ParserContext pc, java.lang.String path, java.lang.String method, java.lang.String servletPath)