MediaType

case class MediaType(mainType: String, subType: String, charset: Option[String], otherParameters: Map[String, String])
Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def charset(c: Charset): MediaType
def charset(c: String): MediaType
override def equals(that: Any): Boolean
Definition Classes
Equals -> Any
def equalsIgnoreParameters(that: MediaType): Boolean
override def hashCode(): Int
Definition Classes
Any
def isApplication: Boolean
def isAudio: Boolean
def isExample: Boolean
def isFont: Boolean
def isImage: Boolean
def isMessage: Boolean
def isModel: Boolean
def isMultipart: Boolean
def isText: Boolean
def isVideo: Boolean
def matches(range: ContentTypeRange): Boolean
override def toString: String
Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product