protected static enum HTTPFormBuilder.Sort extends java.lang.Enum<HTTPFormBuilder.Sort>
Modifier and Type | Method and Description |
---|---|
static org.apache.http.entity.ContentType |
contenttype(HTTPFormBuilder.Sort sort) |
static java.lang.String |
mimetype(HTTPFormBuilder.Sort sort) |
static HTTPFormBuilder.Sort |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HTTPFormBuilder.Sort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPFormBuilder.Sort TEXT
public static final HTTPFormBuilder.Sort BYTES
public static final HTTPFormBuilder.Sort STREAM
public static final HTTPFormBuilder.Sort FILE
public static HTTPFormBuilder.Sort[] values()
for (HTTPFormBuilder.Sort c : HTTPFormBuilder.Sort.values()) System.out.println(c);
public static HTTPFormBuilder.Sort 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 nullpublic static org.apache.http.entity.ContentType contenttype(HTTPFormBuilder.Sort sort)
public static java.lang.String mimetype(HTTPFormBuilder.Sort sort)