trait MediaType extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- MediaType
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
binary: Boolean
True when this media-type is not character-based.
- abstract def isApplication: Boolean
- abstract def isAudio: Boolean
-
abstract
def
isCompressible: Boolean
True when this media-type is generally compressible.
- abstract def isImage: Boolean
- abstract def isMessage: Boolean
- abstract def isMultipart: Boolean
- abstract def isText: Boolean
- abstract def isVideo: Boolean
-
abstract
def
mainType: String
The main-type of this media-type.
-
abstract
def
subType: String
The sub-type of this media-type.
-
abstract
def
toRange(qValue: Float): MediaRange
Creates a media-range from this media-type with a given qValue.
-
abstract
def
toRange: MediaRange
Creates a media-range from this media-type.
Concrete 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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- 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(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- 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
- @throws( ... ) @native()
- def →[B](y: B): (MediaType, B)