AndThen

oxygen.http.core.PathCodec.AndThen
final case class AndThen[A, B, C](a: PathCodec[A], b: PathCodec[B], zip: Out[A, B, C]) extends PathCodec[C]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait PathCodec[C]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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

Attributes

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

Attributes

Definition Classes

Inherited methods

final def /[B](that: PathCodec[B])(using zip: Zip[C, B]): PathCodec[zip.Out]

Attributes

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

Attributes

Inherited from:
PathCodec
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

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

Attributes

Inherited from:
PathCodec

Concrete fields

override val specs: Growable[Growable[Spec]]

Potential paths this can parse/produce.

Potential paths this can parse/produce.

Growable( Growable("by", "name", Param), Growable("id", Param), )

represents: /by/name/% /id/%

Attributes