Package io.muserver
Class ContentTypes
- java.lang.Object
-
- io.muserver.ContentTypes
-
public class ContentTypes extends java.lang.Object
String constants for content-types
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.CharSequence
APPLICATION_EPUB_ZIP
Electronic publication (EPUB):"application/epub+zip"
static java.lang.CharSequence
APPLICATION_GZIP
GZIP (.gz):"application/gzip"
static java.lang.CharSequence
APPLICATION_JAVA_ARCHIVE
Java Archive (JAR):"application/java-archive"
static java.lang.CharSequence
APPLICATION_JAVASCRIPT
JavaScript (ECMAScript):"application/javascript"
static java.lang.CharSequence
APPLICATION_JSON
JSON format:"application/json"
static java.lang.CharSequence
APPLICATION_MSWORD
Microsoft Word:"application/msword"
static java.lang.CharSequence
APPLICATION_OCTET_STREAM
Any kind of binary data:"application/octet-stream"
static java.lang.CharSequence
APPLICATION_OGG
OGG:"application/ogg"
static java.lang.CharSequence
APPLICATION_PDF
Adobe Portable Document Format (PDF):"application/pdf"
static java.lang.CharSequence
APPLICATION_RTF
Rich Text Format (RTF):"application/rtf"
static java.lang.CharSequence
APPLICATION_TYPESCRIPT
Typescript file:"application/typescript"
static java.lang.CharSequence
APPLICATION_VND_AMAZON_EBOOK
Amazon Kindle eBook format:"application/vnd.amazon.ebook"
static java.lang.CharSequence
APPLICATION_VND_APPLE_INSTALLER_XML
Apple Installer Package:"application/vnd.apple.installer+xml"
static java.lang.CharSequence
APPLICATION_VND_MOZILLA_XUL_XML
XUL:"application/vnd.mozilla.xul+xml"
static java.lang.CharSequence
APPLICATION_VND_MS_EXCEL
Microsoft Excel:"application/vnd.ms-excel"
static java.lang.CharSequence
APPLICATION_VND_MS_FONTOBJECT
MS Embedded OpenType fonts:"application/vnd.ms-fontobject"
static java.lang.CharSequence
APPLICATION_VND_MS_POWERPOINT
Microsoft PowerPoint:"application/vnd.ms-powerpoint"
static java.lang.CharSequence
APPLICATION_VND_OASIS_OPENDOCUMENT_PRESENTATION
OpenDocument presentation document:"application/vnd.oasis.opendocument.presentation"
static java.lang.CharSequence
APPLICATION_VND_OASIS_OPENDOCUMENT_SPREADSHEET
OpenDocument spreadsheet document:"application/vnd.oasis.opendocument.spreadsheet"
static java.lang.CharSequence
APPLICATION_VND_OASIS_OPENDOCUMENT_TEXT
OpenDocument text document:"application/vnd.oasis.opendocument.text"
static java.lang.CharSequence
APPLICATION_VND_VISIO
Microsoft Visio:"application/vnd.visio"
static java.lang.CharSequence
APPLICATION_X_7Z_COMPRESSED
7-zip archive:"application/x-7z-compressed"
static java.lang.CharSequence
APPLICATION_X_ABIWORD
AbiWord document:"application/x-abiword"
static java.lang.CharSequence
APPLICATION_X_BZIP
BZip archive:"application/x-bzip"
static java.lang.CharSequence
APPLICATION_X_BZIP2
BZip2 archive:"application/x-bzip2"
static java.lang.CharSequence
APPLICATION_X_CSH
C-Shell script:"application/x-csh"
static java.lang.CharSequence
APPLICATION_X_RAR_COMPRESSED
RAR archive:"application/x-rar-compressed"
static java.lang.CharSequence
APPLICATION_X_SH
Bourne shell script:"application/x-sh"
static java.lang.CharSequence
APPLICATION_X_SHOCKWAVE_FLASH
Small web format (SWF) or Adobe Flash document:"application/x-shockwave-flash"
static java.lang.CharSequence
APPLICATION_X_TAR
Tape Archive (TAR):"application/x-tar"
static java.lang.CharSequence
APPLICATION_XHTML_XML
XHTML:"application/xhtml+xml"
static java.lang.CharSequence
APPLICATION_XML
XML:"application/xml"
static java.lang.CharSequence
APPLICATION_ZIP
ZIP archive:"application/zip"
static java.lang.CharSequence
AUDIO_AAC
AAC audio file:"audio/aac"
static java.lang.CharSequence
AUDIO_MIDI
Musical Instrument Digital Interface (MIDI):"audio/midi"
static java.lang.CharSequence
AUDIO_OGG
OGG audio:"audio/ogg"
static java.lang.CharSequence
AUDIO_WEBM
WEBM audio:"audio/webm"
static java.lang.CharSequence
AUDIO_X_WAV
Waveform Audio Format:"audio/x-wav"
static java.lang.CharSequence
FONT_OTF
OpenType font:"font/otf"
static java.lang.CharSequence
FONT_TTF
TrueType Font:"font/ttf"
static java.lang.CharSequence
FONT_WOFF
Web Open Font Format (WOFF):"font/woff"
static java.lang.CharSequence
FONT_WOFF2
Web Open Font Format (WOFF):"font/woff2"
static java.lang.CharSequence
IMAGE_AVIF
AVIF image:"image/avif"
static java.lang.CharSequence
IMAGE_GIF
Graphics Interchange Format (GIF):"image/gif"
static java.lang.CharSequence
IMAGE_JPEG
JPEG images:"image/jpeg"
static java.lang.CharSequence
IMAGE_PNG
Portable Network Graphics:"image/png"
static java.lang.CharSequence
IMAGE_SVG_XML
Scalable Vector Graphics (SVG):"image/svg+xml"
static java.lang.CharSequence
IMAGE_TIFF
Tagged Image File Format (TIFF):"image/tiff"
static java.lang.CharSequence
IMAGE_WEBP
WEBP image:"image/webp"
static java.lang.CharSequence
IMAGE_X_ICON
Icon format:"image/x-icon"
static java.lang.CharSequence
TEXT_CALENDAR
iCalendar format:"text/calendar"
static java.lang.CharSequence
TEXT_CALENDAR_UTF8
iCalendar format:"text/calendar;charset=utf-8"
static java.lang.CharSequence
TEXT_CSS
Cascading Style Sheets (CSS):"text/css"
static java.lang.CharSequence
TEXT_CSS_UTF8
Cascading Style Sheets (CSS):"text/css;charset=utf-8"
static java.lang.CharSequence
TEXT_CSV
Comma-separated values (CSV):"text/csv"
static java.lang.CharSequence
TEXT_CSV_UTF8
Comma-separated values (CSV):"text/csv;charset=utf-8"
static java.lang.CharSequence
TEXT_EVENT_STREAM
Server-Sent-Events, a.k.a.static java.lang.CharSequence
TEXT_HTML
HyperText Markup Language (HTML):"text/html"
static java.lang.CharSequence
TEXT_HTML_UTF8
HyperText Markup Language (HTML):"text/html;charset=utf-8"
static java.lang.CharSequence
TEXT_MARKDOWN
Markdown:"text/markdown"
static java.lang.CharSequence
TEXT_MARKDOWN_UTF8
Markdown:"text/markdown;charset=utf-8"
static java.lang.CharSequence
TEXT_PLAIN
Plain text:"text/plain"
static java.lang.CharSequence
TEXT_PLAIN_UTF8
Plain text:"text/plain;charset=utf-8"
static java.lang.CharSequence
VIDEO_3GPP
3GPP audio/video container:"video/3gpp"
static java.lang.CharSequence
VIDEO_3GPP2
3GPP2 audio/video container:"video/3gpp2"
static java.lang.CharSequence
VIDEO_MP4
MPEG Video:"video/mp4"
static java.lang.CharSequence
VIDEO_MPEG
MPEG Video:"video/mpeg"
static java.lang.CharSequence
VIDEO_OGG
OGG video:"video/ogg"
static java.lang.CharSequence
VIDEO_WEBM
WEBM video:"video/webm"
static java.lang.CharSequence
VIDEO_X_MATROSKA
MKV video files"video/x-matroska"
static java.lang.CharSequence
VIDEO_X_MSVIDEO
AVI: Audio Video Interleave:"video/x-msvideo"
static java.lang.CharSequence
WEB_APP_MANIFEST
Web App Manifest files"application/manifest+json"
-
-
-
Field Detail
-
TEXT_PLAIN
public static final java.lang.CharSequence TEXT_PLAIN
Plain text:"text/plain"
-
TEXT_PLAIN_UTF8
public static final java.lang.CharSequence TEXT_PLAIN_UTF8
Plain text:"text/plain;charset=utf-8"
-
TEXT_MARKDOWN
public static final java.lang.CharSequence TEXT_MARKDOWN
Markdown:"text/markdown"
-
TEXT_MARKDOWN_UTF8
public static final java.lang.CharSequence TEXT_MARKDOWN_UTF8
Markdown:"text/markdown;charset=utf-8"
-
AUDIO_AAC
public static final java.lang.CharSequence AUDIO_AAC
AAC audio file:"audio/aac"
-
APPLICATION_X_ABIWORD
public static final java.lang.CharSequence APPLICATION_X_ABIWORD
AbiWord document:"application/x-abiword"
-
VIDEO_X_MSVIDEO
public static final java.lang.CharSequence VIDEO_X_MSVIDEO
AVI: Audio Video Interleave:"video/x-msvideo"
-
APPLICATION_VND_AMAZON_EBOOK
public static final java.lang.CharSequence APPLICATION_VND_AMAZON_EBOOK
Amazon Kindle eBook format:"application/vnd.amazon.ebook"
-
APPLICATION_OCTET_STREAM
public static final java.lang.CharSequence APPLICATION_OCTET_STREAM
Any kind of binary data:"application/octet-stream"
-
APPLICATION_X_BZIP
public static final java.lang.CharSequence APPLICATION_X_BZIP
BZip archive:"application/x-bzip"
-
APPLICATION_X_BZIP2
public static final java.lang.CharSequence APPLICATION_X_BZIP2
BZip2 archive:"application/x-bzip2"
-
APPLICATION_X_CSH
public static final java.lang.CharSequence APPLICATION_X_CSH
C-Shell script:"application/x-csh"
-
TEXT_CSS
public static final java.lang.CharSequence TEXT_CSS
Cascading Style Sheets (CSS):"text/css"
-
TEXT_CSS_UTF8
public static final java.lang.CharSequence TEXT_CSS_UTF8
Cascading Style Sheets (CSS):"text/css;charset=utf-8"
-
TEXT_CSV
public static final java.lang.CharSequence TEXT_CSV
Comma-separated values (CSV):"text/csv"
-
TEXT_CSV_UTF8
public static final java.lang.CharSequence TEXT_CSV_UTF8
Comma-separated values (CSV):"text/csv;charset=utf-8"
-
APPLICATION_MSWORD
public static final java.lang.CharSequence APPLICATION_MSWORD
Microsoft Word:"application/msword"
-
APPLICATION_VND_MS_FONTOBJECT
public static final java.lang.CharSequence APPLICATION_VND_MS_FONTOBJECT
MS Embedded OpenType fonts:"application/vnd.ms-fontobject"
-
APPLICATION_EPUB_ZIP
public static final java.lang.CharSequence APPLICATION_EPUB_ZIP
Electronic publication (EPUB):"application/epub+zip"
-
APPLICATION_GZIP
public static final java.lang.CharSequence APPLICATION_GZIP
GZIP (.gz):"application/gzip"
-
IMAGE_GIF
public static final java.lang.CharSequence IMAGE_GIF
Graphics Interchange Format (GIF):"image/gif"
-
TEXT_HTML
public static final java.lang.CharSequence TEXT_HTML
HyperText Markup Language (HTML):"text/html"
-
TEXT_HTML_UTF8
public static final java.lang.CharSequence TEXT_HTML_UTF8
HyperText Markup Language (HTML):"text/html;charset=utf-8"
-
IMAGE_X_ICON
public static final java.lang.CharSequence IMAGE_X_ICON
Icon format:"image/x-icon"
-
TEXT_CALENDAR
public static final java.lang.CharSequence TEXT_CALENDAR
iCalendar format:"text/calendar"
-
TEXT_CALENDAR_UTF8
public static final java.lang.CharSequence TEXT_CALENDAR_UTF8
iCalendar format:"text/calendar;charset=utf-8"
-
APPLICATION_JAVA_ARCHIVE
public static final java.lang.CharSequence APPLICATION_JAVA_ARCHIVE
Java Archive (JAR):"application/java-archive"
-
IMAGE_JPEG
public static final java.lang.CharSequence IMAGE_JPEG
JPEG images:"image/jpeg"
-
APPLICATION_JAVASCRIPT
public static final java.lang.CharSequence APPLICATION_JAVASCRIPT
JavaScript (ECMAScript):"application/javascript"
-
APPLICATION_JSON
public static final java.lang.CharSequence APPLICATION_JSON
JSON format:"application/json"
-
AUDIO_MIDI
public static final java.lang.CharSequence AUDIO_MIDI
Musical Instrument Digital Interface (MIDI):"audio/midi"
-
VIDEO_MP4
public static final java.lang.CharSequence VIDEO_MP4
MPEG Video:"video/mp4"
-
VIDEO_MPEG
public static final java.lang.CharSequence VIDEO_MPEG
MPEG Video:"video/mpeg"
-
APPLICATION_VND_APPLE_INSTALLER_XML
public static final java.lang.CharSequence APPLICATION_VND_APPLE_INSTALLER_XML
Apple Installer Package:"application/vnd.apple.installer+xml"
-
APPLICATION_VND_OASIS_OPENDOCUMENT_PRESENTATION
public static final java.lang.CharSequence APPLICATION_VND_OASIS_OPENDOCUMENT_PRESENTATION
OpenDocument presentation document:"application/vnd.oasis.opendocument.presentation"
-
APPLICATION_VND_OASIS_OPENDOCUMENT_SPREADSHEET
public static final java.lang.CharSequence APPLICATION_VND_OASIS_OPENDOCUMENT_SPREADSHEET
OpenDocument spreadsheet document:"application/vnd.oasis.opendocument.spreadsheet"
-
APPLICATION_VND_OASIS_OPENDOCUMENT_TEXT
public static final java.lang.CharSequence APPLICATION_VND_OASIS_OPENDOCUMENT_TEXT
OpenDocument text document:"application/vnd.oasis.opendocument.text"
-
AUDIO_OGG
public static final java.lang.CharSequence AUDIO_OGG
OGG audio:"audio/ogg"
-
VIDEO_OGG
public static final java.lang.CharSequence VIDEO_OGG
OGG video:"video/ogg"
-
APPLICATION_OGG
public static final java.lang.CharSequence APPLICATION_OGG
OGG:"application/ogg"
-
FONT_OTF
public static final java.lang.CharSequence FONT_OTF
OpenType font:"font/otf"
-
IMAGE_PNG
public static final java.lang.CharSequence IMAGE_PNG
Portable Network Graphics:"image/png"
-
APPLICATION_PDF
public static final java.lang.CharSequence APPLICATION_PDF
Adobe Portable Document Format (PDF):"application/pdf"
-
APPLICATION_VND_MS_POWERPOINT
public static final java.lang.CharSequence APPLICATION_VND_MS_POWERPOINT
Microsoft PowerPoint:"application/vnd.ms-powerpoint"
-
APPLICATION_X_RAR_COMPRESSED
public static final java.lang.CharSequence APPLICATION_X_RAR_COMPRESSED
RAR archive:"application/x-rar-compressed"
-
APPLICATION_RTF
public static final java.lang.CharSequence APPLICATION_RTF
Rich Text Format (RTF):"application/rtf"
-
APPLICATION_X_SH
public static final java.lang.CharSequence APPLICATION_X_SH
Bourne shell script:"application/x-sh"
-
IMAGE_SVG_XML
public static final java.lang.CharSequence IMAGE_SVG_XML
Scalable Vector Graphics (SVG):"image/svg+xml"
-
APPLICATION_X_SHOCKWAVE_FLASH
public static final java.lang.CharSequence APPLICATION_X_SHOCKWAVE_FLASH
Small web format (SWF) or Adobe Flash document:"application/x-shockwave-flash"
-
APPLICATION_X_TAR
public static final java.lang.CharSequence APPLICATION_X_TAR
Tape Archive (TAR):"application/x-tar"
-
IMAGE_TIFF
public static final java.lang.CharSequence IMAGE_TIFF
Tagged Image File Format (TIFF):"image/tiff"
-
APPLICATION_TYPESCRIPT
public static final java.lang.CharSequence APPLICATION_TYPESCRIPT
Typescript file:"application/typescript"
-
FONT_TTF
public static final java.lang.CharSequence FONT_TTF
TrueType Font:"font/ttf"
-
APPLICATION_VND_VISIO
public static final java.lang.CharSequence APPLICATION_VND_VISIO
Microsoft Visio:"application/vnd.visio"
-
AUDIO_X_WAV
public static final java.lang.CharSequence AUDIO_X_WAV
Waveform Audio Format:"audio/x-wav"
-
AUDIO_WEBM
public static final java.lang.CharSequence AUDIO_WEBM
WEBM audio:"audio/webm"
-
VIDEO_WEBM
public static final java.lang.CharSequence VIDEO_WEBM
WEBM video:"video/webm"
-
IMAGE_WEBP
public static final java.lang.CharSequence IMAGE_WEBP
WEBP image:"image/webp"
-
IMAGE_AVIF
public static final java.lang.CharSequence IMAGE_AVIF
AVIF image:"image/avif"
-
FONT_WOFF
public static final java.lang.CharSequence FONT_WOFF
Web Open Font Format (WOFF):"font/woff"
-
FONT_WOFF2
public static final java.lang.CharSequence FONT_WOFF2
Web Open Font Format (WOFF):"font/woff2"
-
APPLICATION_XHTML_XML
public static final java.lang.CharSequence APPLICATION_XHTML_XML
XHTML:"application/xhtml+xml"
-
APPLICATION_VND_MS_EXCEL
public static final java.lang.CharSequence APPLICATION_VND_MS_EXCEL
Microsoft Excel:"application/vnd.ms-excel"
-
APPLICATION_XML
public static final java.lang.CharSequence APPLICATION_XML
XML:"application/xml"
-
APPLICATION_VND_MOZILLA_XUL_XML
public static final java.lang.CharSequence APPLICATION_VND_MOZILLA_XUL_XML
XUL:"application/vnd.mozilla.xul+xml"
-
APPLICATION_ZIP
public static final java.lang.CharSequence APPLICATION_ZIP
ZIP archive:"application/zip"
-
VIDEO_3GPP
public static final java.lang.CharSequence VIDEO_3GPP
3GPP audio/video container:"video/3gpp"
-
VIDEO_3GPP2
public static final java.lang.CharSequence VIDEO_3GPP2
3GPP2 audio/video container:"video/3gpp2"
-
APPLICATION_X_7Z_COMPRESSED
public static final java.lang.CharSequence APPLICATION_X_7Z_COMPRESSED
7-zip archive:"application/x-7z-compressed"
-
TEXT_EVENT_STREAM
public static final java.lang.CharSequence TEXT_EVENT_STREAM
Server-Sent-Events, a.k.a. SSE, a.k.a. Event Streams:"text/event-stream"
-
VIDEO_X_MATROSKA
public static final java.lang.CharSequence VIDEO_X_MATROSKA
MKV video files"video/x-matroska"
-
WEB_APP_MANIFEST
public static final java.lang.CharSequence WEB_APP_MANIFEST
Web App Manifest files"application/manifest+json"
-
-