MimeType

Undocumented in source.

Constructors

this
this(string s)
Undocumented in source.
this
this(string s, MimeType base)
Undocumented in source.
this
this(string s, string charset)
Undocumented in source.

Members

Functions

asString
string asString()
Undocumented in source. Be warned that the author may not have intended to support it.
getBaseType
MimeType getBaseType()
Undocumented in source. Be warned that the author may not have intended to support it.
getCharsetString
string getCharsetString()
Undocumented in source. Be warned that the author may not have intended to support it.
isCharsetAssumed
bool isCharsetAssumed()
Undocumented in source. Be warned that the author may not have intended to support it.
isSame
bool isSame(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

ALL
MimeType ALL;

Public constant mime type that includes all media ranges (i.e. "*/*").

APPLICATION_JSON
MimeType APPLICATION_JSON;
Undocumented in source.
APPLICATION_JSON_8859_1
MimeType APPLICATION_JSON_8859_1;
Undocumented in source.
APPLICATION_JSON_UTF_8
MimeType APPLICATION_JSON_UTF_8;
Undocumented in source.
APPLICATION_OCTET_STREAM
MimeType APPLICATION_OCTET_STREAM;
Undocumented in source.
APPLICATION_XML
MimeType APPLICATION_XML;
Undocumented in source.
FORM_ENCODED
MimeType FORM_ENCODED;
Undocumented in source.
IMAGE_GIF
MimeType IMAGE_GIF;
Undocumented in source.
IMAGE_JPEG
MimeType IMAGE_JPEG;
Undocumented in source.
IMAGE_PNG
MimeType IMAGE_PNG;
Undocumented in source.
MESSAGE_HTTP
MimeType MESSAGE_HTTP;
Undocumented in source.
MULTIPART_BYTERANGES
MimeType MULTIPART_BYTERANGES;
Undocumented in source.
TEXT_HTML
MimeType TEXT_HTML;
Undocumented in source.
TEXT_HTML_8859_1
MimeType TEXT_HTML_8859_1;
Undocumented in source.
TEXT_HTML_UTF_8
MimeType TEXT_HTML_UTF_8;
Undocumented in source.
TEXT_JSON
MimeType TEXT_JSON;
Undocumented in source.
TEXT_JSON_8859_1
MimeType TEXT_JSON_8859_1;
Undocumented in source.
TEXT_JSON_UTF_8
MimeType TEXT_JSON_UTF_8;
Undocumented in source.
TEXT_PLAIN
MimeType TEXT_PLAIN;
Undocumented in source.
TEXT_PLAIN_8859_1
MimeType TEXT_PLAIN_8859_1;
Undocumented in source.
TEXT_PLAIN_UTF_8
MimeType TEXT_PLAIN_UTF_8;
Undocumented in source.
TEXT_XML
MimeType TEXT_XML;
Undocumented in source.
TEXT_XML_8859_1
MimeType TEXT_XML_8859_1;
Undocumented in source.
TEXT_XML_UTF_8
MimeType TEXT_XML_UTF_8;
Undocumented in source.
values
Array!MimeType values;
Undocumented in source.

Variables

ALL_VALUE
enum string ALL_VALUE;

A string equivalent of {@link MimeType#ALL}.

APPLICATION_JSON_VALUE
enum string APPLICATION_JSON_VALUE;

A string equivalent of {@link MimeType#APPLICATION_JSON}.

APPLICATION_OCTET_STREAM_VALUE
enum string APPLICATION_OCTET_STREAM_VALUE;

A string equivalent of {@link MimeType#APPLICATION_OCTET_STREAM}.

APPLICATION_XML_VALUE
enum string APPLICATION_XML_VALUE;

A string equivalent of {@link MimeType#APPLICATION_XML}.

IMAGE_GIF_VALUE
enum string IMAGE_GIF_VALUE;

A string equivalent of {@link MimeType#IMAGE_GIF}.

IMAGE_JPEG_VALUE
enum string IMAGE_JPEG_VALUE;

A string equivalent of {@link MimeType#IMAGE_JPEG}.

IMAGE_PNG_VALUE
enum string IMAGE_PNG_VALUE;

A string equivalent of {@link MimeType#IMAGE_PNG}.

TEXT_HTML_VALUE
enum string TEXT_HTML_VALUE;

A string equivalent of {@link MimeType#TEXT_HTML}.

TEXT_PLAIN_VALUE
enum string TEXT_PLAIN_VALUE;

A string equivalent of {@link MimeType#TEXT_PLAIN}.

TEXT_XML_VALUE
enum string TEXT_XML_VALUE;

A string equivalent of {@link MimeType#TEXT_XML}.

Meta