public enum MappingMatch extends java.lang.Enum<MappingMatch>
| Enum Constant and Description |
|---|
CONTEXT_ROOT
The request was mapped to the servlet via the context root URL pattern of
"". |
DEFAULT
The request was mapped to the servlet via the default servlet URL pattern
of
"/" . |
EXACT
The request was mapped to the servlet using an exact URL pattern match.
|
EXTENSION
The request was mapped to the servlet using an extension URL pattern
match.
|
PATH
The request was mapped to the servlet using a path URL pattern.
|
| Modifier and Type | Method and Description |
|---|---|
static MappingMatch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MappingMatch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingMatch CONTEXT_ROOT
"".public static final MappingMatch DEFAULT
"/" .public static final MappingMatch EXACT
public static final MappingMatch EXTENSION
public static final MappingMatch PATH
public static MappingMatch[] values()
for (MappingMatch c : MappingMatch.values()) System.out.println(c);
public static MappingMatch 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 nullCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.