Const

harness.endpoint.spec.PathCodec$.Const
final case class Const(p: String) extends PathCodec[Unit]

Attributes

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

Members list

Value members

Concrete methods

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

Attributes

Definition Classes
override def encodePath(o: Unit): 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[Unit, B]): PathCodec[Out]

Attributes

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

Attributes

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

Attributes

Inherited from:
PathCodec
final def imapDecode[B](to: Unit => Option[B], from: B => Unit): 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]]