HttpMultiMap

wvlet.airframe.http.HttpMultiMap
See theHttpMultiMap companion object
case class HttpMultiMap(underlying: Map[String, Any])

Immutable case-insensitive MultiMap structure for representing Http headers, query parameters, etc.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def +(p: (String, String)): HttpMultiMap
def ++(m: Map[String, String]): HttpMultiMap
def add(key: String, value: String): HttpMultiMap

Attributes

def get(key: String): Option[String]
def getAll(key: String): Seq[String]
def getOrElse(key: String, defaultValue: => String): String
def isEmpty: Boolean
def nonEmpty: Boolean
def remove(key: String): HttpMultiMap
def set(key: String, value: String): HttpMultiMap
def toMultiMap: Map[String, Seq[String]]
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product