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
.
the key
the value associated with the given key, throws NoSuchElementException
if
none exists.
Tests whether this HeaderMap contains a binding for a key.
Tests whether this HeaderMap contains a binding for a key.
the key
true
if there is a binding for key
in this map, false
otherwise.
Optionally returns the value associated with a key.
Optionally returns the value associated with a key.
the key value
an option value containing the value associated with key
in this map, or None
if none exists.
Tests whether the HeaderMap is empty.
Tests whether the HeaderMap is empty.
true
if the map does not contain any key/value binding, false
otherwise.
Converts this HeaderMap to a sequence by flattening to a Seq[(Buf, Buf)]
and thus repeats keys as first tuple member.
Converts this HeaderMap to a map.
Immutable Map of Header Keys Strings to Seq of Header
Buf
Values.