class HeaderMap extends AnyRef
Immutable Map of Header Keys Strings to Seq of Header Buf Values.
- Alphabetic
- By Inheritance
- HeaderMap
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(key: String): Seq[Buf]
Retrieves the value which is associated with the given key.
Retrieves the value which is associated with the given key. If there is no value associated with the given key, throws a
NoSuchElementException.- key
the key
- returns
the value associated with the given key, throws
NoSuchElementExceptionif none exists.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def contains(key: String): Boolean
Tests whether this HeaderMap contains a binding for a key.
Tests whether this HeaderMap contains a binding for a key.
- key
the key
- returns
trueif there is a binding forkeyin this map,falseotherwise.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def get(key: String): Option[Seq[Buf]]
Optionally returns the value associated with a key.
Optionally returns the value associated with a key.
- key
the key value
- returns
an option value containing the value associated with
keyin this map, orNoneif none exists.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isEmpty: Boolean
Tests whether the HeaderMap is empty.
Tests whether the HeaderMap is empty.
- returns
trueif the map does not contain any key/value binding,falseotherwise.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toBufSeq: Seq[(Buf, Buf)]
Converts this HeaderMap to a sequence by flattening to a
Seq[(Buf, Buf)]and thus repeats keys as first tuple member. - def toMap: Map[String, Seq[Buf]]
Converts this HeaderMap to a map.
- def toString(): String
- Definition Classes
- HeaderMap → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()