- 所有已实现的接口:
-
Serializable
,Comparable<FormSubmitEvent.MethodType>
,Constable
- 封装类:
-
FormSubmitEvent
表示HTML表单方法类型。
GET
对应于GET表单方法POST
对应于POST表单方法
- 自版本:
- 1.5
-
Nested Class Summary
Nested classes/interfaces declared in class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormSubmitEvent.MethodType
返回具有指定名称的此类的枚举常量。static FormSubmitEvent.MethodType[]
values()
返回一个数组,其中包含此枚举类的常量,按它们声明的顺序排列。
-
Enum Constant Details
-
GET
GET
对应于GET表单方法 -
POST
POST
对应于POST表单方法
-
-
Method Details
-
values
返回一个数组,其中包含此枚举类的常量,按它们声明的顺序排列。- 返回:
- 一个数组,其中包含此枚举类的常量,按它们声明的顺序排列
-
valueOf
返回具有指定名称的此类的枚举常量。字符串必须与在此类中用于声明枚举常量的标识符完全匹配。(不允许存在多余的空格字符。)- 参数:
-
name
- 要返回的枚举常量的名称。 - 返回:
- 具有指定名称的枚举常量
- 抛出:
-
IllegalArgumentException
- 如果此枚举类没有具有指定名称的常量 -
NullPointerException
- 如果参数为null
-