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