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

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

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]

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]