public static enum Response.ContentType extends Enum<Response.ContentType>
| Modifier and Type | Method and Description |
|---|---|
static Response.ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Response.ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Response.ContentType HTTP
public static final Response.ContentType MULTIPART
public static final Response.ContentType IMAGE_JPG
public static final Response.ContentType XML
public static Response.ContentType[] values()
for (Response.ContentType c : Response.ContentType.values()) System.out.println(c);
public static Response.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 © 2015. All rights reserved.