CookieWithKey

harness.endpoint.spec.HeaderCodec$.CookieWithKey
sealed trait CookieWithKey[A, B] extends WithKey[A, B]

Attributes

Graph
Supertypes
trait WithKey[A, B]
trait HeaderCodec[B]
class Object
trait Matchable
class Any
Known subtypes
class CookieOptional[A]
class CookieRequired[A]

Members list

Value members

Inherited methods

final def ++[B](that: HeaderCodec[B])(implicit z: Zip[B, 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
override def decodeInternal(headers: Map[String, List[String]], cookies: Map[String, String]): Either[DecodingFailure, Decoded[B]]

Attributes

Definition Classes
Inherited from:
WithKey
final protected def decodeSingle(v: String): Either[DecodingFailure, A]

Attributes

Inherited from:
WithKey
def encode(o: B): (Map[String, List[String]], Map[String, String])

Attributes

Inherited from:
HeaderCodec
final protected def fail(cause: Cause): Either[DecodingFailure, Nothing]

Attributes

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

Attributes

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

Attributes

Inherited from:
HeaderCodec

Concrete fields

override protected val getValues: (Map[String, List[String]], Map[String, String]) => List[String]
override protected val makeSchema: (SchemaRequirement, String, Schema[A]) => GenericHeaderSchema

Inherited fields

final lazy protected val headerSchema: GenericHeaderSchema

Attributes

Inherited from:
WithKey
val key: String

Attributes

Inherited from:
WithKey
protected val parseValues: List[String] => Either[DecodingFailure, B]

Attributes

Inherited from:
WithKey

Attributes

Inherited from:
WithKey
val schema: Schema[A]

Attributes

Inherited from:
WithKey
final lazy protected val schemaSource: SchemaSource

Attributes

Inherited from:
WithKey
final lazy override val schemas: NonEmptyList[List[GenericHeaderSchema]]

Attributes

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

Attributes

Inherited from:
HeaderCodec
final lazy protected val upperKey: String

Attributes

Inherited from:
WithKey