public enum Method extends Enum<Method>
| 枚举常量和说明 |
|---|
DELETE |
GET |
GET_RESPONSE |
POST_BYTES |
POST_FILE |
POST_FORM |
POST_FORM_RESPONSE |
POST_STRING |
POST_STRING_RESPONSE |
PUT_BYTES |
PUT_FORM |
PUT_STRING |
public static final Method GET
public static final Method POST_FORM
public static final Method POST_FILE
public static final Method POST_STRING
public static final Method POST_BYTES
public static final Method PUT_FORM
public static final Method PUT_STRING
public static final Method PUT_BYTES
public static final Method DELETE
public static final Method GET_RESPONSE
public static final Method POST_FORM_RESPONSE
public static final Method POST_STRING_RESPONSE
public static Method[] values()
for (Method c : Method.values()) System.out.println(c);
public static Method valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2023. All rights reserved.