Class MediaRange$


  • public class MediaRange$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static MediaRange$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      MediaRange$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MediaRange apply​(MediaType mediaType)  
      MediaRange apply​(MediaType mediaType, float qValue)  
      MediaRange custom​(java.lang.String mainType, scala.collection.immutable.Map<java.lang.String,​java.lang.String> params, float qValue)  
      scala.Tuple2<scala.collection.immutable.Map<java.lang.String,​java.lang.String>,​java.lang.Object> splitOffQValue​(scala.collection.immutable.Map<java.lang.String,​java.lang.String> params, float defaultQ)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final MediaRange$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • MediaRange$

        public MediaRange$()
    • Method Detail

      • splitOffQValue

        public scala.Tuple2<scala.collection.immutable.Map<java.lang.String,​java.lang.String>,​java.lang.Object> splitOffQValue​(scala.collection.immutable.Map<java.lang.String,​java.lang.String> params,
                                                                                                                                           float defaultQ)
      • custom

        public MediaRange custom​(java.lang.String mainType,
                                 scala.collection.immutable.Map<java.lang.String,​java.lang.String> params,
                                 float qValue)