sealed class MediaType extends MediaRange
- Source
- MediaType.scala
- Alphabetic
- By Inheritance
- MediaType
- MediaRange
- Renderable
- AnyRef
- Any
- by fromValue
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (MediaType, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val binary: Boolean
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val compressible: Boolean
- def ensuring(cond: (MediaType) ⇒ Boolean, msg: ⇒ Any): MediaType
- def ensuring(cond: (MediaType) ⇒ Boolean): MediaType
- def ensuring(cond: Boolean, msg: ⇒ Any): MediaType
- def ensuring(cond: Boolean): MediaType
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- MediaType → MediaRange → AnyRef → Any
-
val
extensions: Map[String, String]
- Definition Classes
- MediaRange
- val fileExtensions: Seq[String]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- MediaType → MediaRange → AnyRef → Any
-
def
isApplication: Boolean
- Definition Classes
- MediaRange
-
def
isAudio: Boolean
- Definition Classes
- MediaRange
-
def
isImage: Boolean
- Definition Classes
- MediaRange
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isMessage: Boolean
- Definition Classes
- MediaRange
-
def
isMultipart: Boolean
- Definition Classes
- MediaRange
-
def
isText: Boolean
- Definition Classes
- MediaRange
-
def
isVideo: Boolean
- Definition Classes
- MediaRange
-
val
mainType: String
- Definition Classes
- MediaRange
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
productArity: Int
- Implicit
- This member is added by an implicit conversion from MediaType to (String, String) performed by method fromValue in org.http4s.MediaType.
- Definition Classes
- Product2 → Product
-
def
productElement(n: Int): Any
- Implicit
- This member is added by an implicit conversion from MediaType to (String, String) performed by method fromValue in org.http4s.MediaType.
- Definition Classes
- Product2 → Product
- Annotations
- @throws( ... )
-
def
render(writer: Writer): writer.type
Base method for rendering this object efficiently
Base method for rendering this object efficiently
- Definition Classes
- MediaType → MediaRange → Renderable
-
def
renderString: String
Generates a String rendering of this object
Generates a String rendering of this object
- Definition Classes
- Renderable
-
def
satisfiedBy(mediaType: MediaRange): Boolean
Does that mediaRange satisfy this ranges requirements
Does that mediaRange satisfy this ranges requirements
- Definition Classes
- MediaType → MediaRange
- final def satisfies(mediaType: MediaType): Boolean
-
final
def
satisfies(mediaRange: MediaRange): Boolean
- Definition Classes
- MediaRange
- val subType: String
-
def
swap: (String, String)
- Implicit
- This member is added by an implicit conversion from MediaType to (String, String) performed by method fromValue in org.http4s.MediaType.
- Definition Classes
- Tuple2
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- MediaType → MediaRange → Renderable → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withExtensions(ext: Map[String, String]): MediaType
- Definition Classes
- MediaType → MediaRange
-
def
withQValue(q: QValue): MediaRangeAndQValue
- Definition Classes
- MediaRange
- def →[B](y: B): (MediaType, B)
Shadowed Implicit Value Members
-
def
toString(): String
- Implicit
- This member is added by an implicit conversion from MediaType to (String, String) performed by method fromValue in org.http4s.MediaType.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(mediaType: (String, String)).toString()
- Definition Classes
- Tuple2 → AnyRef → Any