RequestPathCodec

oxygen.http.core.RequestPathCodec
See theRequestPathCodec companion trait

Attributes

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

Members list

Type members

Classlikes

final case class AndThen[A, B, C](a: RequestPathCodec[A], b: RequestPathCodec[B], zip: Out[A, B, C]) extends RequestPathCodec[C]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RequestPathCodec[C]
class Object
trait Matchable
class Any
Show all
final case class ApplyPartial[A](partial: PartialPathCodec[A], name: String, doc: Option[String]) extends RequestPathCodec[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RequestPathCodec[A]
class Object
trait Matchable
class Any
Show all
final case class ConstMany(paths: NonEmptyList[String]) extends RequestPathCodec[Unit]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RequestPathCodec[Unit]
class Object
trait Matchable
class Any
Show all
final case class ConstSingle(path: String) extends RequestPathCodec[Unit]

Attributes

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

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait FromDecodeCases[A] extends RequestPathCodec[A]

Attributes

Companion
object
Supertypes
trait RequestPathCodec[A]
class Object
trait Matchable
class Any
final case class OrElse[A, B >: A](a: RequestPathCodec[A], b: RequestPathCodec[B], tt: TypeTest[B, A]) extends RequestPathCodec[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RequestPathCodec[B]
class Object
trait Matchable
class Any
Show all
final case class Transform[A, B](a: RequestPathCodec[A], ab: A => B, ba: B => A) extends RequestPathCodec[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait RequestPathCodec[B]
class Object
trait Matchable
class Any
Show all
final case class TransformDecode[A, B](a: RequestPathCodec[A], ab: A => Option[B], ba: B => A) extends RequestPathCodec[B]

Attributes

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

Value members

Concrete methods

def applied[A](name: String, doc: Option[String])(using c: PartialPathCodec[A]): RequestPathCodec[A]
def const(path: String): RequestPathCodec[Unit]
def json[A](name: String, doc: Option[String])(using c: Json[A]): RequestPathCodec[A]
def plain[A](name: String, doc: Option[String])(using c: Plain[A]): RequestPathCodec[A]

Givens

Givens

given stringToPathCodec: Conversion[String, RequestPathCodec[Unit]]