TransformDecode

oxygen.http.core.RequestPathCodec.TransformDecode
final case class TransformDecode[A, B](a: RequestPathCodec[A], ab: A => Option[B], ba: B => A) extends RequestPathCodec[B]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait RequestPathCodec[B]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def decode(paths: List[String]): Option[(B, List[String])]

Attributes

Definition Classes
override def encode(value: B): Growable[String]

Attributes

Definition Classes

Inherited methods

final def <||[B >: B](that: RequestPathCodec[B])(using ct: TypeTest[B, B]): RequestPathCodec[B]

Attributes

Inherited from:
RequestPathCodec
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): RequestPathCodec[B]

Attributes

Inherited from:
RequestPathCodec
final def transformDecode[B](ab: B => Option[B], ba: B => B): RequestPathCodec[B]

Attributes

Inherited from:
RequestPathCodec
final def ||>[B <: B](that: RequestPathCodec[B])(using ct: TypeTest[B, B]): RequestPathCodec[B]

Attributes

Inherited from:
RequestPathCodec

Concrete fields

override val partiallyAppliedPathSchemas: NonEmptyList[Growable[PartiallyAppliedPathSchema]]

Inherited fields

Attributes

Inherited from:
RequestPathCodec