TextCodec

zio.http.codec.TextCodec
See theTextCodec companion trait
object TextCodec

Attributes

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

Members list

Type members

Classlikes

case object BooleanCodec extends TextCodec[Boolean]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TextCodec[Boolean]
trait PartialFunction[String, Boolean]
trait String => Boolean
class Object
trait Matchable
class Any
Show all
Self type
final case class Constant(string: String) extends TextCodec[Unit]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TextCodec[Unit]
trait PartialFunction[String, Unit]
trait String => Unit
class Object
trait Matchable
class Any
Show all
case object IntCodec extends TextCodec[Int]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TextCodec[Int]
trait PartialFunction[String, Int]
trait String => Int
class Object
trait Matchable
class Any
Show all
Self type
IntCodec.type
case object LongCodec extends TextCodec[Long]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TextCodec[Long]
trait PartialFunction[String, Long]
trait String => Long
class Object
trait Matchable
class Any
Show all
Self type
LongCodec.type
case object StringCodec extends TextCodec[String]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TextCodec[String]
trait PartialFunction[String, String]
trait String => String
class Object
trait Matchable
class Any
Show all
Self type
case object UUIDCodec extends TextCodec[UUID]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TextCodec[UUID]
trait PartialFunction[String, UUID]
trait String => UUID
class Object
trait Matchable
class Any
Show all
Self type
UUIDCodec.type

Inherited types

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 constant(string: String): TextCodec[Unit]

Implicits

Implicits

implicit val boolean: TextCodec[Boolean]
implicit val int: TextCodec[Int]
implicit val long: TextCodec[Long]
implicit val string: TextCodec[String]
implicit val uuid: TextCodec[UUID]