ContentType

spice.net.ContentType$
See theContentType companion class

Attributes

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

Members list

Concise view

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

Implicits

Implicits

implicit val rw: RW[ContentType]