Enum Class WebMvcProperties.MatchingStrategy
java.lang.Object
java.lang.Enum<WebMvcProperties.MatchingStrategy>
org.springframework.boot.webmvc.autoconfigure.WebMvcProperties.MatchingStrategy
- All Implemented Interfaces:
Serializable, Comparable<WebMvcProperties.MatchingStrategy>, Constable
- Enclosing class:
WebMvcProperties
public static enum WebMvcProperties.MatchingStrategy
extends Enum<WebMvcProperties.MatchingStrategy>
Matching strategy options.
- Since:
- 4.0.0
- Author:
- Phillip Webb, Sébastien Deleuze, Stephane Nicoll, Eddú Meléndez, Brian Clozel, Vedran Pavic
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Use thePathPatternParserimplementation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static WebMvcProperties.MatchingStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANT_PATH_MATCHER
@Deprecated(since="4.0.0", forRemoval=true) public static final WebMvcProperties.MatchingStrategy ANT_PATH_MATCHERDeprecated, for removal: This API element is subject to removal in a future version.since 4.0.0 for removal in 4.2.0 in favor ofPATH_PATTERN_PARSERUse theAntPathMatcherimplementation. -
PATH_PATTERN_PARSER
Use thePathPatternParserimplementation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
PATH_PATTERN_PARSER