public static enum HTTPRequest.ContentType extends Enum<HTTPRequest.ContentType>
Enum Constant and Description |
---|
BINARY
Content type
|
MULTI_PART
Content type
|
STRING
Content type
|
Modifier and Type | Method and Description |
---|---|
static HTTPRequest.ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPRequest.ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPRequest.ContentType STRING
public static final HTTPRequest.ContentType BINARY
public static final HTTPRequest.ContentType MULTI_PART
public static HTTPRequest.ContentType[] values()
for (HTTPRequest.ContentType c : HTTPRequest.ContentType.values()) System.out.println(c);
public static HTTPRequest.ContentType 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 © 2009–2020 fax4j. All rights reserved.