A collection of HTTP Headers
- Companion:
- object
Value members
Concrete methods
Returns true if there is at least one header by the specified name.
Returns true if there is at least one header by the specified name.
Attempt to get a (potentially repeating) header from this collection of headers.
Attempt to get a (potentially repeating) header from this collection of headers.
- Returns:
a scala.Option possibly containing the resulting (potentially repeating) header.
Attempt to get headers by key from this collection of headers.
Attempt to get headers by key from this collection of headers.
- Value parameters:
- key
name of the headers to find.
- Returns:
a scala.Option possibly containing the resulting collection cats.data.NonEmptyList of org.http4s.Header.Raw.
Attempt to get a (potentially repeating) header and/or any parse errors from this collection of headers.
Attempt to get a (potentially repeating) header and/or any parse errors from this collection of headers.
- Returns:
a scala.Option possibly containing the resulting (potentially repeating) header and/or any parse errors.
Make a new collection adding the specified headers, replacing existing Single
headers.
Make a new collection adding the specified headers, replacing existing Single
headers.
- Value parameters:
- in
multiple heteregenous headers Header to append to the new collection, see Header.ToRaw
- Returns:
a new Headers containing the sum of the initial and input headers