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