MediaType

play.api.http.MediaType
See theMediaType companion object
case class MediaType(mediaType: String, mediaSubType: String, parameters: Seq[(String, Option[String])])

A media type as defined by RFC 2616 3.7.

Value parameters

mediaSubType

The media sub type

mediaType

The media type

parameters

The parameters

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class MediaRange

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product