@Deprecated public enum HttpUtilContentType extends Enum<HttpUtilContentType>
program Sinlmao Commons Network Utils
description HTTP ContentType枚举类
create 2019-08-01 11:11
| 枚举常量和说明 |
|---|
APPLICATION_JSON
已过时。
|
APPLICATION_X_WWW_FORM_URLENCODED
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static HttpUtilContentType |
valueOf(String name)
已过时。
返回带有指定名称的该类型的枚举常量。
|
static HttpUtilContentType[] |
values()
已过时。
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final HttpUtilContentType APPLICATION_JSON
public static final HttpUtilContentType APPLICATION_X_WWW_FORM_URLENCODED
public static HttpUtilContentType[] values()
for (HttpUtilContentType c : HttpUtilContentType.values()) System.out.println(c);
public static HttpUtilContentType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2021. All rights reserved.