MediaRange

scamper.http.types.MediaRange
See theMediaRange companion object
trait MediaRange

Standardized type for Accept header value.

Attributes

See also
Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def matches(mediaType: MediaType): Boolean

Tests whether range matches supplied media type.

Tests whether range matches supplied media type.

Attributes

def params: Map[String, String]

Gets parameters.

Gets parameters.

Attributes

def subtypeName: String

Gets subtype name.

Gets subtype name.

Attributes

def typeName: String

Gets type name.

Gets type name.

Attributes

def weight: Float

Gets weight.

Gets weight.

Attributes

Concrete methods

def fullName: String

Gets full name.

Gets full name.

Attributes

def isApplication: Boolean

Tests type name for application.

Tests type name for application.

Attributes

def isAudio: Boolean

Tests type name for audio.

Tests type name for audio.

Attributes

def isFont: Boolean

Tests type name for font.

Tests type name for font.

Attributes

def isImage: Boolean

Tests type name for image.

Tests type name for image.

Attributes

def isMessage: Boolean

Tests type name for message.

Tests type name for message.

Attributes

def isMultipart: Boolean

Tests type name for multipart.

Tests type name for multipart.

Attributes

def isText: Boolean

Tests type name for text.

Tests type name for text.

Attributes

def isVideo: Boolean

Tests type name for video.

Tests type name for video.

Attributes

def isWildcard: Boolean

Tests type name for wildcard (*).

Tests type name for wildcard (*).

Attributes

Concrete fields

lazy override val toString: String

Returns formatted range.

Returns formatted range.

Attributes