And

harness.endpoint.spec.HeaderCodec$.And
final case class And[A, B, O](a: HeaderCodec[A], b: HeaderCodec[B], z: Out[A, B, O]) extends HeaderCodec[O]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait HeaderCodec[O]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def decodeInternal(headers: Map[String, List[String]], cookies: Map[String, String]): Either[DecodingFailure, Decoded[O]]

Attributes

Definition Classes
override def encode(o: O): (Map[String, List[String]], Map[String, String])

Attributes

Definition Classes

Inherited methods

final def ++[B](that: HeaderCodec[B])(implicit z: Zip[O, 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
final def imap[B](to: O => B, from: B => O): HeaderCodec[B]

Attributes

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

Attributes

Inherited from:
HeaderCodec
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy override val schemas: NonEmptyList[List[GenericHeaderSchema]]

Inherited fields

final lazy val sources: NonEmptyList[List[SchemaSource]]

Attributes

Inherited from:
HeaderCodec