ContentType

spice.net.ContentType
See theContentType companion class
object ContentType

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def byExtension(extension: String): ContentType
def byFileName(fileName: String): ContentType
def getByExtension(extension: String): Option[ContentType]
def getByFileName(fileName: String): Option[ContentType]
def parse(contentTypeString: String): ContentType

Concrete fields

lazy val audio/xm: ContentType
lazy val text/css: ContentType
lazy val text/csv: ContentType
lazy val text/n3: ContentType
lazy val text/x-c: ContentType
lazy val text/xml: ContentType

Implicits

Implicits

implicit val rw: RW[ContentType]