public static enum BaseBodyRequest.UploadType extends java.lang.Enum<BaseBodyRequest.UploadType>
| Enum Constant and Description |
|---|
BODY
Map RequestBody方式上传
|
PART
MultipartBody.Part方式上传
|
| Modifier and Type | Method and Description |
|---|---|
static BaseBodyRequest.UploadType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseBodyRequest.UploadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseBodyRequest.UploadType PART
public static final BaseBodyRequest.UploadType BODY
public static BaseBodyRequest.UploadType[] values()
for (BaseBodyRequest.UploadType c : BaseBodyRequest.UploadType.values()) System.out.println(c);
public static BaseBodyRequest.UploadType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null