trait ContentTypes extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- ContentTypes
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- val BINARY: String
Content-Type of binary data.
- val CACHE_MANIFEST: String
Content-Type of application cache.
- def CSS(implicit codec: Codec): String
Content-Type of css.
- def EVENT_STREAM(implicit codec: Codec): String
Content-Type of server sent events.
- val FORM: String
Content-Type of form-urlencoded.
Content-Type of form-urlencoded. This content type does not define a charset parameter.
- def HTML(implicit codec: Codec): String
Content-Type of html.
- def JAVASCRIPT(implicit codec: Codec): String
Content-Type of javascript.
- val JSON: String
Content-Type of json.
Content-Type of json. This content type does not define a charset parameter.
- def TEXT(implicit codec: Codec): String
Content-Type of text.
- def XHTML(implicit codec: Codec): String
Content-Type of xhtml.
- def XML(implicit codec: Codec): String
Content-Type of xml.
- def withCharset(mimeType: String)(implicit codec: Codec): String
- returns
the
codec
charset appended tomimeType
Defines common HTTP Content-Type header values, according to the current available Codec.