PathCodec

zio.http.codec.PathCodec
See thePathCodec companion trait
object PathCodec

Attributes

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

Members list

Type members

Classlikes

final case class Annotated[A](codec: PathCodec[A], annotations: Chunk[MetaData[A]]) extends PathCodec[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PathCodec[A]
class Object
trait Matchable
class Any
Show all
object MetaData

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
MetaData.type
sealed trait MetaData[A] extends Product, Serializable

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Documented[A]
class Examples[A]

Attributes

Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(value: String): PathCodec[Unit]

Constructs a path codec from a method and a path literal.

Constructs a path codec from a method and a path literal.

Attributes

def bool(name: String): PathCodec[Boolean]
def empty: PathCodec[Unit]

The empty / root path codec.

The empty / root path codec.

Attributes

def int(name: String): PathCodec[Int]
def literal(value: String): PathCodec[Unit]
def long(name: String): PathCodec[Long]
def string(name: String): PathCodec[String]
def uuid(name: String): PathCodec[UUID]

Implicits

Implicits

implicit def path(value: String): PathCodec[Unit]