Headers

io.hireproof.structure.Headers
See theHeaders companion object
sealed abstract class Headers[A] extends Product[A]

Attributes

Companion:
object
Graph
Supertypes
trait Product[A]
trait Structure[A]
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Types

final override type Element[a] = Header[a]
final override type Group[a] = Headers[a]
final override type Self[a] = Headers[a]

Value members

Abstract methods

def fromStringChain(headers: Chain[(CIString, String)]): Validated[Errors, (Chain[(CIString, String)], A)]
def toChain: Chain[Header[_]]
def toStringChain(a: A): Chain[(CIString, String)]

Concrete methods

final def zip[T](header: Header[T]): Headers[(A, T)]
final override def zipAll[T](headers: Headers[T]): Headers[(A, T)]

Attributes

Definition Classes

Inherited methods

final def const(value: => A): Self[Unit]

Attributes

Inherited from:
Structure
final def imap[T](f: A => T)(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def ivalidate[T](validation: Validation[A, T])(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def merge[T](implicit evidence: Aux[A, T]): Self[T]

Attributes

Inherited from:
Structure
final def validate(validation: Validation[A, A]): Self[A]

Attributes

Inherited from:
Structure
final def ximap[T](implicit evidence: Aux[T, A]): Self[T]

Attributes

Inherited from:
Product
final def |*|[T](element: Header[T])(implicit evidence: Merger[(A, T)]): Group[Out]

Attributes

Inherited from:
Product