PathCodec

oxygen.http.core.PathCodec
See thePathCodec companion trait
object PathCodec

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PathCodec.type

Members list

Type members

Classlikes

case object AllRemaining extends PathCodec[List[String]]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PathCodec[List[String]]
class Object
trait Matchable
class Any
Show all
Self type
case object AllRemainingNonEmpty extends PathCodec[NonEmptyList[String]]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PathCodec[NonEmptyList[String]]
class Object
trait Matchable
class Any
Show all
Self type
final case class AndThen[A, B, C](a: PathCodec[A], b: PathCodec[B], zip: Out[A, B, C]) extends PathCodec[C]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PathCodec[C]
class Object
trait Matchable
class Any
Show all
final case class Const(const: String) extends PathCodec[Unit]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PathCodec[Unit]
class Object
trait Matchable
class Any
Show all
final case class Consts(consts: List[String]) extends PathCodec[Unit]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PathCodec[Unit]
class Object
trait Matchable
class Any
Show all
final case class OrElse[A, B >: A](a: PathCodec[A], b: PathCodec[B], tt: TypeTest[B, A]) extends PathCodec[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PathCodec[B]
class Object
trait Matchable
class Any
Show all
case object SingleStringParam extends PathCodec[String]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PathCodec[String]
class Object
trait Matchable
class Any
Show all
Self type
final case class SingleTypedParam[A](codec: StringCodec[A]) extends PathCodec[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PathCodec[A]
class Object
trait Matchable
class Any
Show all
enum Spec

Attributes

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

Value members

Concrete methods

def specsFor(codecs: PathCodec[_]*): List[List[Spec]]

Givens

Givens

given allRemaining: PathCodec[List[String]]
given allRemainingNonEmpty: PathCodec[NonEmptyList[String]]
given stringParam: PathCodec[String]
given typedParam[A](using codec: StringCodec[A]): PathCodec[A]