@ProviderType public final class ContentType extends Object
Modifier and Type | Field and Description |
---|---|
static @NotNull String |
CSS
CSS with UTF-8
|
static @NotNull String |
CSV
CSV (no charset included in mime type because charset can differ from platform to platform)
|
static @NotNull String |
DOWNLOAD
MIME type used for items that should initiate a "save-as" dialog in the browser.
|
static @NotNull String |
GIF
GIF image
|
static @NotNull String |
HTML
HTML with UTF-8
|
static @NotNull String |
JAVASCRIPT
JavaScript with UTF-8
|
static @NotNull String |
JPEG
JPEG image
|
static @NotNull String |
JSON
JSON with UTF-8
|
static @NotNull String |
OCTET_STREAM
Default binary content type
|
static @NotNull String |
PLAINTEXT
Plain text with UTF-8
|
static @NotNull String |
PNG
PNG image
|
static @NotNull String |
SWF
Flash file
|
static @NotNull String |
XHTML
XHTML (no charset, charset is defined within XML markup)
|
static @NotNull String |
XML
XML (no charset, charset is defined within XML markup)
|
static @NotNull String |
ZIP
ZIP
|
@NotNull public static final @NotNull String HTML
@NotNull public static final @NotNull String JSON
@NotNull public static final @NotNull String PLAINTEXT
@NotNull public static final @NotNull String CSS
@NotNull public static final @NotNull String JAVASCRIPT
@NotNull public static final @NotNull String XML
@NotNull public static final @NotNull String XHTML
@NotNull public static final @NotNull String ZIP
@NotNull public static final @NotNull String OCTET_STREAM
@NotNull public static final @NotNull String DOWNLOAD
@NotNull public static final @NotNull String GIF
@NotNull public static final @NotNull String JPEG
@NotNull public static final @NotNull String PNG
@NotNull public static final @NotNull String SWF
@NotNull public static final @NotNull String CSV
Copyright © 2014–2018 wcm.io. All rights reserved.