Package akka.http.scaladsl.model
Class MediaRange$
- java.lang.Object
-
- akka.http.scaladsl.model.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)
-
-
-
Field Detail
-
MODULE$
public static final MediaRange$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
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)
-
apply
public MediaRange apply(MediaType mediaType)
-
apply
public MediaRange apply(MediaType mediaType, float qValue)
-
-