Package akka.http.javadsl.model
Class MediaRanges
java.lang.Object
akka.http.javadsl.model.MediaRanges
Contains a set of predefined media-ranges and static methods to create custom ones.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MediaRange
static final MediaRange
static final MediaRange
static final MediaRange
static final MediaRange
static final MediaRange
static final MediaRange
static final MediaRange
-
Method Summary
Modifier and TypeMethodDescriptionstatic MediaRange
Creates a custom universal media-range for a given main-type.static MediaRange
Creates a custom universal media-range for a given main-type and qValue.static MediaRange
Creates a custom universal media-range for a given main-type and a Map of parameters.
-
Field Details
-
ALL
-
ALL_APPLICATION
-
ALL_AUDIO
-
ALL_IMAGE
-
ALL_MESSAGE
-
ALL_MULTIPART
-
ALL_TEXT
-
ALL_VIDEO
-
-
Method Details
-
create
Creates a custom universal media-range for a given main-type. -
custom
Creates a custom universal media-range for a given main-type and a Map of parameters. -
create
Creates a custom universal media-range for a given main-type and qValue.
-