Preference

scamper.http.types.Preference
See thePreference companion trait
object Preference

Provides factory for Preference.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Preference.type

Members list

Value members

Concrete methods

def apply(name: String): Preference

Creates preference with supplied name.

Creates preference with supplied name.

Attributes

def apply(name: String, value: String): Preference

Creates preference with supplied name and value.

Creates preference with supplied name and value.

Attributes

def apply(name: String, params: Map[String, Option[String]]): Preference

Creates preference with supplied name and params.

Creates preference with supplied name and params.

Attributes

def apply(name: String, value: String, params: Map[String, Option[String]]): Preference

Creates preference with supplied name, value, and parameters.

Creates preference with supplied name, value, and parameters.

Attributes

def apply(name: String, value: Option[String], params: Map[String, Option[String]]): Preference

Creates preference with supplied name, optional value, and parameters.

Creates preference with supplied name, optional value, and parameters.

Attributes

def parse(preference: String): Preference

Parses formatted preference.

Parses formatted preference.

Attributes

def parseAll(preferences: String): Seq[Preference]

Parses formatted list of preferences.

Parses formatted list of preferences.

Attributes