IMap

harness.endpoint.spec.PathCodec$.IMap
final case class IMap[A, B](parent: PathCodec[A], to: A => B, from: B => A) extends PathCodec[B]

Attributes

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

Members list

Value members

Concrete methods

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

Attributes

Definition Classes
override def encodePath(o: B): List[String]

Attributes

Definition Classes

Inherited methods

final def /[B](p: String): PathCodec[A]

Attributes

Inherited from:
PathCodec
final def /[B](that: PathCodec[B])(implicit z: Zip[B, B]): PathCodec[Out]

Attributes

Inherited from:
PathCodec
final def decodePath(paths: List[String]): Option[A]

Attributes

Inherited from:
PathCodec
final def imap[B](to: B => B, from: B => B): PathCodec[B]

Attributes

Inherited from:
PathCodec
final def imapDecode[B](to: B => Option[B], from: B => B): PathCodec[B]

Attributes

Inherited from:
PathCodec
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val schemas: NonEmptyList[List[PathSchema]]