harness.endpoint.spec.HeaderCodec$.OneOf
See theOneOf companion object
final case class OneOf[A](options: NonEmptyList[HeaderCodec[_ <: A]], enc: A => (Map[String, List[String]], Map[String, String])) extends HeaderCodec[A]
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HeaderCodec[A]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
override def decodeInternal(headers: Map[String, List[String]], cookies: Map[String, String]): Either[DecodingFailure, Decoded[A]]
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- HeaderCodec
final def decode(headers: Map[String, List[String]], cookies: Map[String, String]): Either[DecodingFailure, A]
Attributes
- Inherited from:
- HeaderCodec
Attributes
- Inherited from:
- HeaderCodec
Attributes
- Inherited from:
- HeaderCodec
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Concrete fields
Inherited fields
Attributes
- Inherited from:
- HeaderCodec
In this article