ManyNonEmpty

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

Attributes

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

Members list

Value members

Inherited methods

final def ++[B](that: HeaderCodec[B])(implicit z: Zip[NonEmptyList[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: NonEmptyList[A]): (Map[String, List[String]], Map[String, String])

Attributes

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

Attributes

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

Attributes

Inherited from:
HeaderCodec

Concrete fields

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

Inherited fields

lazy val schemas: NonEmptyList[List[GenericHeaderSchema]]

Attributes

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

Attributes

Inherited from:
HeaderCodec