@Deprecated public enum HttpMethodType extends Enum<HttpMethodType>
| 限定符和类型 | 字段和说明 |
|---|---|
private boolean |
hasContent
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasContent()
已过时。
|
static HttpMethodType |
valueOf(String name)
已过时。
返回带有指定名称的该类型的枚举常量。
|
static HttpMethodType[] |
values()
已过时。
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final HttpMethodType GET
public static final HttpMethodType POST
public static final HttpMethodType PUT
public static final HttpMethodType DELETE
public static final HttpMethodType HEAD
public static final HttpMethodType OPTIONS
public static HttpMethodType[] values()
for (HttpMethodType c : HttpMethodType.values()) System.out.println(c);
public static HttpMethodType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public boolean hasContent()
Copyright © 2024. All rights reserved.