public enum MatcherType extends java.lang.Enum<MatcherType>
RequestMatcher
types supported by the namespace.Modifier and Type | Method and Description |
---|---|
org.springframework.beans.factory.config.BeanDefinition |
createMatcher(org.springframework.beans.factory.xml.ParserContext pc,
java.lang.String path,
java.lang.String method) |
org.springframework.beans.factory.config.BeanDefinition |
createMatcher(org.springframework.beans.factory.xml.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 org.springframework.beans.factory.config.BeanDefinition createMatcher(org.springframework.beans.factory.xml.ParserContext pc, java.lang.String path, java.lang.String method)
public org.springframework.beans.factory.config.BeanDefinition createMatcher(org.springframework.beans.factory.xml.ParserContext pc, java.lang.String path, java.lang.String method, java.lang.String servletPath)