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