HeaderCodec

harness.endpoint.spec.HeaderCodec$
See theHeaderCodec companion trait
object HeaderCodec

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class And[A, B, O](a: HeaderCodec[A], b: HeaderCodec[B], z: Out[A, B, O]) extends HeaderCodec[O]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait HeaderCodec[O]
class Object
trait Matchable
class Any
Show all
final case class CookieOptional[A](key: String, schema: Schema[A]) extends CookieWithKey[A, Option[A]], Optional[A]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Optional[A]
trait CookieWithKey[A, Option[A]]
trait WithKey[A, Option[A]]
trait HeaderCodec[Option[A]]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class CookieRequired[A](key: String, schema: Schema[A]) extends CookieWithKey[A, A], Required[A]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Required[A]
trait CookieWithKey[A, A]
trait WithKey[A, A]
trait HeaderCodec[A]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait CookieWithKey[A, B] extends WithKey[A, B]

Attributes

Supertypes
trait WithKey[A, B]
trait HeaderCodec[B]
class Object
trait Matchable
class Any
Known subtypes
class CookieOptional[A]
class CookieRequired[A]
final case class Decoded[+A](value: A, from: List[SchemaSource])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object Empty extends HeaderCodec[Unit]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HeaderCodec[Unit]
class Object
trait Matchable
class Any
Show all
Self type
Empty.type
final case class HeaderMany[A](key: String, schema: Schema[A]) extends HeaderWithKey[A, List[A]], Many[A]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Many[A]
trait HeaderWithKey[A, List[A]]
trait WithKey[A, List[A]]
trait HeaderCodec[List[A]]
class Object
trait Matchable
class Any
Show all
object HeaderMany

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
HeaderMany.type
final case class HeaderManyNonEmpty[A](key: String, schema: Schema[A]) extends HeaderWithKey[A, NonEmptyList[A]], ManyNonEmpty[A]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait ManyNonEmpty[A]
trait HeaderWithKey[A, NonEmptyList[A]]
trait WithKey[A, NonEmptyList[A]]
trait HeaderCodec[NonEmptyList[A]]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HeaderOptional[A](key: String, schema: Schema[A]) extends HeaderWithKey[A, Option[A]], Optional[A]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Optional[A]
trait HeaderWithKey[A, Option[A]]
trait WithKey[A, Option[A]]
trait HeaderCodec[Option[A]]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HeaderOrCookieOptional[A](key: String, schema: Schema[A]) extends HeaderOrCookieWithKey[A, Option[A]], Optional[A]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Optional[A]
trait HeaderOrCookieWithKey[A, Option[A]]
trait WithKey[A, Option[A]]
trait HeaderCodec[Option[A]]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class HeaderOrCookieRequired[A](key: String, schema: Schema[A]) extends HeaderOrCookieWithKey[A, A], Required[A]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Required[A]
trait HeaderOrCookieWithKey[A, A]
trait WithKey[A, A]
trait HeaderCodec[A]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait HeaderOrCookieWithKey[A, B] extends WithKey[A, B]

Attributes

Supertypes
trait WithKey[A, B]
trait HeaderCodec[B]
class Object
trait Matchable
class Any
Known subtypes
final case class HeaderRequired[A](key: String, schema: Schema[A]) extends HeaderWithKey[A, A], Required[A]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Required[A]
trait HeaderWithKey[A, A]
trait WithKey[A, A]
trait HeaderCodec[A]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait HeaderWithKey[A, B] extends WithKey[A, B]

Attributes

Supertypes
trait WithKey[A, B]
trait HeaderCodec[B]
class Object
trait Matchable
class Any
Known subtypes
class HeaderMany[A]
class HeaderOptional[A]
class HeaderRequired[A]
final case class IMap[A, B](parent: HeaderCodec[A], to: A => B, from: B => A) extends HeaderCodec[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait HeaderCodec[B]
class Object
trait Matchable
class Any
Show all
final case class IMapDecode[A, B](parent: HeaderCodec[A], to: A => Either[String, B], from: B => A) extends HeaderCodec[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait HeaderCodec[B]
class Object
trait Matchable
class Any
Show all
sealed trait Many[A] extends HeaderCodec[List[A]]

Attributes

Supertypes
trait HeaderCodec[List[A]]
class Object
trait Matchable
class Any
Known subtypes
class HeaderMany[A]
Self type
WithKey[A, List[A]]
sealed trait ManyNonEmpty[A] extends HeaderCodec[NonEmptyList[A]]

Attributes

Supertypes
trait HeaderCodec[NonEmptyList[A]]
class Object
trait Matchable
class Any
Known subtypes
Self type
WithKey[A, NonEmptyList[A]]
final case class OneOf[A](options: NonEmptyList[HeaderCodec[_ <: A]], enc: A => (Map[String, List[String]], Map[String, String])) extends HeaderCodec[A]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait HeaderCodec[A]
class Object
trait Matchable
class Any
Show all
object OneOf

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
OneOf.type
sealed trait Optional[A] extends HeaderCodec[Option[A]]

Attributes

Supertypes
trait HeaderCodec[Option[A]]
class Object
trait Matchable
class Any
Known subtypes
Self type
WithKey[A, Option[A]]
sealed trait Required[A] extends HeaderCodec[A]

Attributes

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

Attributes

Supertypes
trait HeaderCodec[B]
class Object
trait Matchable
class Any
Known subtypes
trait CookieWithKey[A, B]
class CookieOptional[A]
class CookieRequired[A]
trait HeaderOrCookieWithKey[A, B]
trait HeaderWithKey[A, B]
class HeaderMany[A]
class HeaderOptional[A]
class HeaderRequired[A]
Show all