SegmentCodec

zio.http.codec.SegmentCodec
See theSegmentCodec companion trait
object SegmentCodec

Attributes

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

Members list

Type members

Classlikes

sealed trait Combinable[B, S <: SegmentCodec[B]]

Attributes

Supertypes
class Object
trait Matchable
class Any
case object Trailing extends SegmentCodec[Path]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Trailing.type

Inherited and Abstract types

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 int(name: String): SegmentCodec[Int]
def long(name: String): SegmentCodec[Long]
def uuid(name: String): SegmentCodec[UUID]

Concrete fields

Implicits

Implicits

implicit def literal(value: String): SegmentCodec[Unit]

Ordering for SegmentCodec that ensures Trailing is always sorted to the end, while maintaining the existing order for all other segment codec types. We use this to ensure that Trailing segments are always matched last and more specific segments are matched first.

Ordering for SegmentCodec that ensures Trailing is always sorted to the end, while maintaining the existing order for all other segment codec types. We use this to ensure that Trailing segments are always matched last and more specific segments are matched first.

Attributes