sealed abstract class MediaRange extends javadsl.model.MediaRange with Renderable with WithQValue[MediaRange]
- Alphabetic
- By Inheritance
- MediaRange
- WithQValue
- Renderable
- MediaRange
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
-   abstract  def mainType(): StringReturns the main-type this media-range matches. Returns the main-type this media-range matches. - Definition Classes
- MediaRange → MediaRange
 
-  abstract def matches(mediaType: MediaType): Boolean
-  abstract def params: Map[String, String]
-   abstract  def qValue(): FloatReturns the qValue of this media-range. Returns the qValue of this media-range. - Definition Classes
- MediaRange → MediaRange
 
-  abstract def value: String
-   abstract  def withParams(params: Map[String, String]): MediaRangeReturns a copy of this instance with the params replaced by the given ones. Returns a copy of this instance with the params replaced by the given ones. If the given map contains a "q" value the qValuemember is (also) updated.
-   abstract  def withQValue(qValue: Float): MediaRange- Definition Classes
- WithQValue
 
Concrete Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-    def +(other: String): String- Implicit
- This member is added by an implicit conversion from MediaRange toany2stringadd[MediaRange] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
 
-    def ->[B](y: B): (MediaRange, B)- Implicit
- This member is added by an implicit conversion from MediaRange toArrowAssoc[MediaRange] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
 
-   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(classOf[java.lang.CloneNotSupportedException]) @native()
 
-    def ensuring(cond: (MediaRange) => Boolean, msg: => Any): MediaRange- Implicit
- This member is added by an implicit conversion from MediaRange toEnsuring[MediaRange] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: (MediaRange) => Boolean): MediaRange- Implicit
- This member is added by an implicit conversion from MediaRange toEnsuring[MediaRange] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: Boolean, msg: => Any): MediaRange- Implicit
- This member is added by an implicit conversion from MediaRange toEnsuring[MediaRange] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: Boolean): MediaRange- Implicit
- This member is added by an implicit conversion from MediaRange toEnsuring[MediaRange] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-    def getParams(): Map[String, String]Java API Java API - Definition Classes
- MediaRange → MediaRange
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-  def isApplication: Boolean
-  def isAudio: Boolean
-  def isImage: Boolean
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-  def isMessage: Boolean
-  def isMultipart: Boolean
-  def isText: Boolean
-  def isVideo: Boolean
-  def isWildcard: Boolean
-    def matches(mediaType: javadsl.model.MediaType): BooleanJava API Java API - Definition Classes
- MediaRange → 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()
 
-   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(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
 
-    def withCharsetRange(charsetRange: HttpCharsetRange): ContentTypeRangeConstructs a ContentTypeRangefrom this instance and the given charset.
-    def withQValue(qValue: Double): MediaRangetruncates Double qValue to float and returns a new instance with this qValue set truncates Double qValue to float and returns a new instance with this qValue set - Definition Classes
- WithQValue
 
Deprecated Value Members
-    def formatted(fmtstr: String): String- Implicit
- This member is added by an implicit conversion from MediaRange toStringFormat[MediaRange] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
- (Since version 2.12.16) Use - formatString.format(value)instead of- value.formatted(formatString), or use the- f""string interpolator. In Java 15 and later,- formattedresolves to the new method in String which has reversed parameters.
 
-    def →[B](y: B): (MediaRange, B)- Implicit
- This member is added by an implicit conversion from MediaRange toArrowAssoc[MediaRange] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
- (Since version 2.13.0) Use - ->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.