Serializable
, Comparable<MappingMatch>
public enum MappingMatch extends Enum<MappingMatch>
Enum Constant | Description |
---|---|
CONTEXT_ROOT |
The context root constant.
|
DEFAULT |
The default constant.
|
EXACT |
The exact constant.
|
EXTENSION |
The extension constant.
|
PATH |
The path constant.
|
Modifier and Type | Method | Description |
---|---|---|
static MappingMatch |
valueOf(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(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 © 2020 Piranha Cloud. All rights reserved.