public static enum PathComponentExtractor.ConsumptionLimit extends Enum<PathComponentExtractor.ConsumptionLimit>
Enum Constant and Description |
---|
LAST
Consume up to the last path component, i.e.
|
SECOND_BUT_LAST
Consume up to the second-but-last path component, i.e.
|
Modifier and Type | Method and Description |
---|---|
static PathComponentExtractor.ConsumptionLimit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathComponentExtractor.ConsumptionLimit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathComponentExtractor.ConsumptionLimit SECOND_BUT_LAST
Don't consume anything if there is no path separator in the path string.
public static final PathComponentExtractor.ConsumptionLimit LAST
public static PathComponentExtractor.ConsumptionLimit[] values()
for (PathComponentExtractor.ConsumptionLimit c : PathComponentExtractor.ConsumptionLimit.values()) System.out.println(c);
public static PathComponentExtractor.ConsumptionLimit 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 © 2006-2017 Red Hat, Inc. All Rights Reserved