SegmentCodec

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

Attributes

Companion
trait
Source
SegmentCodec.scala
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

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

Attributes

Source
SegmentCodec.scala
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
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

Attributes

Source
SegmentCodec.scala
def int(name: String): SegmentCodec[Int]

Attributes

Source
SegmentCodec.scala
def long(name: String): SegmentCodec[Long]

Attributes

Source
SegmentCodec.scala

Attributes

Source
SegmentCodec.scala

Attributes

Source
SegmentCodec.scala
def uuid(name: String): SegmentCodec[UUID]

Attributes

Source
SegmentCodec.scala

Concrete fields

Attributes

Source
SegmentCodec.scala

Implicits

Implicits

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

Attributes

Source
SegmentCodec.scala

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

Source
SegmentCodec.scala