final class Headers extends AnyVal
- Alphabetic
- By Inheritance
- Headers
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def ++(those: Headers): Headers
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
- def add[H](h: H)(implicit arg0: Header[H, Recurring]): Headers
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def foreach(f: (Raw) ⇒ Unit): Unit
-
def
get(key: CIString): Option[NonEmptyList[Raw]]
TODO revise scaladoc Attempt to get a org.http4s.Header from this collection of headers
TODO revise scaladoc Attempt to get a org.http4s.Header from this collection of headers
- key
name of the header to find
- returns
a scala.Option possibly containing the resulting org.http4s.Header
-
def
get[A](implicit ev: Select[A]): Option[F[A]]
TODO revise scaladoc Attempt to get a org.http4s.Header of type key.HeaderT from this collection
TODO revise scaladoc Attempt to get a org.http4s.Header of type key.HeaderT from this collection
- returns
a scala.Option possibly containing the resulting header of type key.HeaderT
- See also
Header object and get(org.typelevel.ci.CIString)
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getWithWarnings[A](implicit ev: Select[A]): Option[Ior[NonEmptyList[ParseFailure], F[A]]]
TODO revise scaladoc Attempt to get a org.http4s.Header of type key.HeaderT from this collection
TODO revise scaladoc Attempt to get a org.http4s.Header of type key.HeaderT from this collection
- returns
a scala.Option possibly containing the resulting header of type key.HeaderT and/or any parse errors.
- See also
Header object and get(org.typelevel.ci.CIString)
- val headers: List[Raw]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
put(in: ToRaw*): Headers
Make a new collection adding the specified headers, replacing existing
Single
headers.Make a new collection adding the specified headers, replacing existing
Single
headers.- 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
- def redactSensitive(redactWhen: (CIString) ⇒ Boolean = Headers.SensitiveHeaders.contains): Headers
-
def
removePayloadHeaders: Headers
Removes the
Content-Length
,Content-Range
,Trailer
, andTransfer-Encoding
headers.Removes the
Content-Length
,Content-Range
,Trailer
, andTransfer-Encoding
headers.https://tools.ietf.org/html/rfc7231#section-3.3
-
def
toString(): String
- Definition Classes
- Headers → Any
- def transform(f: (List[Raw]) ⇒ List[Raw]): Headers