Plain

oxygen.http.core.BodyCodec.Plain
See thePlain companion trait
object Plain

Attributes

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

Members list

Type members

Classlikes

final case class Required[A](codec: StringCodec[A]) extends Plain[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Plain[A]
trait Text[A]
trait BodyCodec[A]
class Object
trait Matchable
class Any
Show all
case object Str extends Plain[String]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Plain[String]
trait Text[String]
trait BodyCodec[String]
class Object
trait Matchable
class Any
Show all
Self type
Str.type
final case class Transform[A, B](a: Plain[A], ab: A => B, ba: B => A) extends Plain[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Plain[B]
trait Text[B]
trait BodyCodec[B]
class Object
trait Matchable
class Any
Show all
final case class TransformOrFail[A, B](a: Plain[A], ab: A => Either[String, B], ba: B => A) extends Plain[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Plain[B]
trait Text[B]
trait BodyCodec[B]
class Object
trait Matchable
class Any
Show all

Givens

Givens

given string: Plain[String]
given typed[A](using codec: StringCodec[A]): Plain[A]