public static enum Request.RequestType extends Enum<Request.RequestType>
Enum Constant and Description |
---|
BODY_MULTIPART |
BODY_URLENCODED |
NORMAL |
Modifier and Type | Method and Description |
---|---|
static Request.RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.RequestType BODY_URLENCODED
public static final Request.RequestType BODY_MULTIPART
public static final Request.RequestType NORMAL
public static Request.RequestType[] values()
for (Request.RequestType c : Request.RequestType.values()) System.out.println(c);
public static Request.RequestType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Voovan. All rights reserved.