Package io.github.astrapi69.spring.rest
Enum Class BaseRestPath
- All Implemented Interfaces:
Serializable
,Comparable<BaseRestPath>
,Constable
The enum class
BaseRestPath
holds constants for the base rest path values-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe enum value for the rest path VERSION 1The enum value for the regex docket path version 1The enum value for the rest path VERSION 2The enum value for the regex docket path version 2The enum value for the rest path VERSION 3The enum value for the regex docket path version 3The enum value for the rest path VERSION 4The enum value for the regex docket path version 4The enum value for the rest path VERSION 5The enum value for the regex docket path version 1 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static BaseRestPath
Returns the enum constant of this class with the specified name.static BaseRestPath[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VERSION_1
The enum value for the rest path VERSION 1 -
VERSION_1_DOCKET_PATHS_REGEX
The enum value for the regex docket path version 1 -
VERSION_2
The enum value for the rest path VERSION 2 -
VERSION_2_DOCKET_PATHS_REGEX
The enum value for the regex docket path version 2 -
VERSION_3
The enum value for the rest path VERSION 3 -
VERSION_3_DOCKET_PATHS_REGEX
The enum value for the regex docket path version 3 -
VERSION_4
The enum value for the rest path VERSION 4 -
VERSION_4_DOCKET_PATHS_REGEX
The enum value for the regex docket path version 4 -
VERSION_5
The enum value for the rest path VERSION 5 -
VERSION_5_DOCKET_PATHS_REGEX
The enum value for the regex docket path version 1
-
-
Field Details
-
SLASH
- See Also:
-
REST_DOCKET_PATHS_REGEX_SUFFIX
- See Also:
-
REST_API_VERSION_1
- See Also:
-
REST_API_VERSION_2
- See Also:
-
REST_API_VERSION_3
- See Also:
-
REST_API_VERSION_4
- See Also:
-
REST_API_VERSION_5
- See Also:
-
REST_VERSION_1
- See Also:
-
REST_VERSION_1_DOCKET_PATHS_REGEX
- See Also:
-
REST_VERSION_2
- See Also:
-
REST_VERSION_2_DOCKET_PATHS_REGEX
- See Also:
-
REST_VERSION_3
- See Also:
-
REST_VERSION_3_DOCKET_PATHS_REGEX
- See Also:
-
REST_VERSION_4
- See Also:
-
REST_VERSION_4_DOCKET_PATHS_REGEX
- See Also:
-
REST_VERSION_5
- See Also:
-
REST_VERSION_5_DOCKET_PATHS_REGEX
- See Also:
-
-
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
-
getValue
-