public static enum PSModelEnums.ServiceReqContentType extends java.lang.Enum<PSModelEnums.ServiceReqContentType>
application/json
application/x-www-form-urlencoded
multipart/form-data
text/xml
用户自定义
用户自定义2
用户自定义3
用户自定义4
| 枚举常量和说明 |
|---|
APPLICATION_FORM_URLENCODED |
APPLICATION_JSON |
MULTIPART_FORM_DATA |
TEXT_XML |
USER |
USER2 |
USER3 |
USER4 |
| 限定符和类型 | 方法和说明 |
|---|---|
static PSModelEnums.ServiceReqContentType |
from(java.lang.String value) |
static PSModelEnums.ServiceReqContentType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static PSModelEnums.ServiceReqContentType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final PSModelEnums.ServiceReqContentType APPLICATION_JSON
public static final PSModelEnums.ServiceReqContentType APPLICATION_FORM_URLENCODED
public static final PSModelEnums.ServiceReqContentType MULTIPART_FORM_DATA
public static final PSModelEnums.ServiceReqContentType TEXT_XML
public static final PSModelEnums.ServiceReqContentType USER
public static final PSModelEnums.ServiceReqContentType USER2
public static final PSModelEnums.ServiceReqContentType USER3
public static final PSModelEnums.ServiceReqContentType USER4
public static PSModelEnums.ServiceReqContentType[] values()
for (PSModelEnums.ServiceReqContentType c : PSModelEnums.ServiceReqContentType.values()) System.out.println(c);
public static PSModelEnums.ServiceReqContentType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public static PSModelEnums.ServiceReqContentType from(java.lang.String value)