Required

oxygen.http.core.BodyCodec.Plain.Required
final case class Required[A](codec: StringCodec[A]) extends Plain[A]

Attributes

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

Members list

Value members

Concrete methods

override def decodeText(body: Text): Either[Cause, A]

Attributes

Definition Classes
override def encodeText(value: A): Text

Attributes

Definition Classes

Inherited methods

final override def decode(body: HttpBody): ZIO[Scope, Cause, A]

Attributes

Definition Classes
Inherited from:
Text
final override def encode(value: A): HttpBody

Attributes

Definition Classes
Inherited from:
Text
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final override def transform[B](ab: A => B, ba: B => A): Plain[B]

Attributes

Definition Classes
Inherited from:
Plain
final override def transformOrFail[B](ab: A => Either[String, B], ba: B => A): Plain[B]

Attributes

Definition Classes
Inherited from:
Plain