Transform

oxygen.http.core.partial.ResponseCodecNoStatus.Transform
final case class Transform[A, B](a: ResponseCodecNoStatus[A], ab: A => B, ba: B => A) extends ResponseCodecNoStatus[B]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def decode(headers: Headers, body: Body): ZIO[Scope, ResponseDecodingFailure, B]

Attributes

Definition Classes

Inherited methods

final def ++[B](that: ResponseCodecNoStatus[B])(using zip: Zip[B, B]): ResponseCodecNoStatus[zip.Out]

Attributes

Inherited from:
ResponseCodecNoStatus
final def encode(value: B): (Headers, Body)

Attributes

Inherited from:
ResponseCodecNoStatus
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

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

Attributes

Inherited from:
ResponseCodecNoStatus
final def transformOrFail[B](ab: B => Either[String, B], ba: B => B): ResponseCodecNoStatus[B]

Attributes

Inherited from:
ResponseCodecNoStatus

Concrete fields

override val sources: List[Source]