Enum Class PathVariableEnum
- 所有已实现的接口:
PathResolver,PathVariablePathResolver,Serializable,Comparable<PathVariableEnum>,Constable
路径中的变量的枚举类
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量 -
方法概要
修饰符和类型方法说明@NonNull Stringstatic PathVariableEnumReturns the enum constant of this class with the specified name.static PathVariableEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.从类继承的方法 java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf从接口继承的方法 cn.duskykite.open.call.path.PathVariablePathResolver
resolve
-
枚举常量详细资料
-
MESSAGE_ID
消息的ID,详情参见消息ID说明 -
FILE_KEY
文件的key,通过上传文件接口上传图片后获得 -
DEPARTMENT_ID
部门自定义 ID(或者 openID)。不同 ID 的说明及获取方式 参见部门ID说明 -
USER_ID
用户ID。例如user_id_type=open_id,user_id的类型需为open_id。不同ID的说明参见 用户相关的 ID 概念 -
CHAT_ID
群 ID,详情参见群ID 说明
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- 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.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
pathVariable
- 指定者:
pathVariable在接口中PathVariablePathResolver- 返回:
- 路径变量值
-