Required

harness.endpoint.spec.HeaderCodec$.Required
sealed trait Required[A] extends HeaderCodec[A]

Attributes

Graph
Supertypes
trait HeaderCodec[A]
class Object
trait Matchable
class Any
Known subtypes
Self type
WithKey[A, A]

Members list

Value members

Inherited methods

final def ++[B](that: HeaderCodec[B])(implicit z: Zip[A, B]): HeaderCodec[Out]

Attributes

Inherited from:
HeaderCodec
final def decode(headers: Map[String, List[String]], cookies: Map[String, String]): Either[DecodingFailure, A]

Attributes

Inherited from:
HeaderCodec
def decodeInternal(headers: Map[String, List[String]], cookies: Map[String, String]): Either[DecodingFailure, Decoded[A]]

Attributes

Inherited from:
HeaderCodec
def encode(o: A): (Map[String, List[String]], Map[String, String])

Attributes

Inherited from:
HeaderCodec
final def imap[B](to: A => B, from: B => A): HeaderCodec[B]

Attributes

Inherited from:
HeaderCodec
final def imapDecode[B](to: A => Either[String, B], from: B => A): HeaderCodec[B]

Attributes

Inherited from:
HeaderCodec

Concrete fields

override protected val parseValues: List[String] => Either[DecodingFailure, A]

Inherited fields

lazy val schemas: NonEmptyList[List[GenericHeaderSchema]]

Attributes

Inherited from:
HeaderCodec
final lazy val sources: NonEmptyList[List[SchemaSource]]

Attributes

Inherited from:
HeaderCodec