(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) ++
creates a new map. Use ++=
to add an element to this map and return that map itself.
Add a header and do replace existing header(s).
Add a header and do replace existing header(s).
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) --
creates a new map. Use --=
to remove an element from this map and return that map itself.
Remove header(s).
Remove header(s).
Add a header but don't replace existing header(s).
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.8.0) values
returns Iterable[B]
rather than Iterator[B]
.
Adapt headers of an HttpMessage to a mutable Map. Header names are case-insensitive. For example, get("accept") is the same as get("Accept").