BooleanCodec

zio.http.codec.TextCodec.BooleanCodec
case object BooleanCodec extends TextCodec[Boolean]

Attributes

Source
TextCodec.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait String => Boolean
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Inherited and Abstract types

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(value: String): Boolean

Attributes

Source
TextCodec.scala

Attributes

Source
TextCodec.scala
def encode(value: Boolean): String

Attributes

Source
TextCodec.scala
def isDefinedAt(value: String): Boolean

Attributes

Source
TextCodec.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Source
TextCodec.scala

Inherited methods

Attributes

Inherited from:
PartialFunction
override def andThen[C](k: Boolean => C): PartialFunction[String, C]

Attributes

Definition Classes
Inherited from:
PartialFunction
def applyOrElse[A1 <: String, B1 >: Boolean](x: A1, default: A1 => B1): B1

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
PartialFunction
def compose[A](g: A => String): A => Boolean

Attributes

Inherited from:
Function1
final def decode(value: String): Option[Boolean]

Attributes

Inherited from:
TextCodec
Source
TextCodec.scala

Attributes

Inherited from:
PartialFunction

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def runWith[U](action: Boolean => U): String => Boolean

Attributes

Inherited from:
PartialFunction

Attributes

Inherited from:
PartialFunction