public enum RestMethod extends Enum<RestMethod>
public static final RestMethod GET
public static final RestMethod POST
public static final RestMethod PUT
public static final RestMethod DELETE
public static RestMethod[] values()
for (RestMethod c : RestMethod.values()) System.out.println(c);
public static RestMethod valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getDesc()
Copyright © 2022. All rights reserved.