@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:52.265Z") @Stability(value=Deprecated) @Deprecated public enum ContentType extends Enum<ContentType>
| Enum Constant and Description |
|---|
APPLICATION_JAVASCRIPT
Deprecated.
|
APPLICATION_JSON
Deprecated.
|
TEXT_CSS
Deprecated.
|
TEXT_HTML
Deprecated.
|
TEXT_PLAIN
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ContentType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Deprecated) @Deprecated public static final ContentType TEXT_PLAIN
@Stability(value=Deprecated) @Deprecated public static final ContentType TEXT_CSS
@Stability(value=Deprecated) @Deprecated public static final ContentType TEXT_HTML
@Stability(value=Deprecated) @Deprecated public static final ContentType APPLICATION_JAVASCRIPT
@Stability(value=Deprecated) @Deprecated public static final ContentType APPLICATION_JSON
public static ContentType[] values()
for (ContentType c : ContentType.values()) System.out.println(c);
public static 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 © 2021. All rights reserved.